Hi,
In my project a Declare Global Temporary Table is used in a stored procedure.
This DGTT is created in procedure "A" and used in procedures "B" and "C". These 3 SPs are called from dotNET application one by one i.e. first A then B then C.
Procedures "A" and "B" complete successfully but "C" fails with SQLCODE -204 because DGTT is getting deleted.

I have 2 questions:
1) Why DGTT is getting dropped.
2) Is there any way to prevent it from getting dropped?