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
Date increment loop using Javascript in Pentaho Data Integration
Logon Process: Advapi Authentication Package: MICROSOFT_AUTHENTICATION_P
ACKAGE_V1_
0
Moving to Exchange Server 2010 from 2003
grep lines from N days back
IE 7 & 8 Javascript error
Exporting query and setting precision of values
WinXP, Vista PE and, 2k3WDS?
To Ghost a Hard disk.
php
Can I put a 800MHz bus CPU in a 533MHz bus motherboard?