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
Query with "If" condition
folder & data creation on hdisk1 or hisk2
Owa 2010 Error creating rules and when i click Options (error 400 /owa/auth.owa)
Read a file from client and display the contents in server side
How can I find what the Data Pump directory is currently set to?
How do I identify user logon / logoff event in a domain
how to pivot data horizontally in excel 2007
Windows 2003 Auto Login after join domain?
Ghost 10 - Error: The Destination disk could not be locked (643)
Will SOAP with WS-ReliableMessaging in Server allows the connection to clients without WS-ReliableMessaging to connect