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...