Thanks, Greg,
This is exactly what I was thinking of, but didn't know if it existed. Phase 2 will be finding out if our DBA allows temp tables (& getting "USE privilege on the USER TEMPORARY table space.")
(You asked "why your DBA made you use the instance number in the key...
OK, thanks.
But now I have a new question: What do you mean by
"a temporary table"? Assuming I have CREATE permission
on the database, I can imagine how to do that. Does
DB2 support a "temporary table" as something local to
my currently executing process?
The...
I need to use dynamic SQL in my COBOL program. Environment is DB2 / COBOL 370.
I need to build the actual select statement for the cursor, including a term "LOCATION IN ('xxx', 'xxx',...)
where I'll be getting a random (but small) number of
xxx's at run time. I now have a kludgey set up...
I need to use dynamic SQL in my COBOL program. Environment is DB2 / COBOL 370.
I need to build the actual select statement for the cursor, including a term "LOCATION IN ('xxx', 'xxx',...)
where I'll be getting a random (but small) number of
xxx's at run time. I now have a kludgey set up...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.