Microsoft
Software
Hardware
Network
Question : DB2 SQL EMBEDDED IN COBOL SELECT INTO
I always though that it was necessary to do an open cursor, select without into, fetch and close cursor for embedded DB2 SQL in COBOL.
However, I just coded, compile and tested a SELECT INTO in COBOL and from the testing it appears to be working. Am I just being fooled, I want to make sure that it is okay to do this and it is correct.
Thanks, MarOS
Answer : DB2 SQL EMBEDDED IN COBOL SELECT INTO
Hi Mary,
It certainly is legal, providing that the compiler (and/or pre-compiler) support(s) it.
I believe that the selected value must be scalar. That is, it must return exactly 1 row.
Good Luck,
Kent
Random Solutions
Cut-off point for too much memory use
free whole disk encryption software, wich is the best?
WDSServer service will not start
Cisco 7965 background
Filter blocks of data in excel
iPhone, how do I correctly pass data model object data between various view controllers without breaking MVC?
PowerShell SFTP
Make a selection based on age calculated from birth date
Adding Contact with ActiveRoles PowerShell
Getting Excel Web Access Web Part and filter Web Part to work togther