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
asp.net: Conversion failed when converting the varchar value ' + row.Cells(1).ToInteger() + ' to data type int.
How do I save incoming email attachments into a specific folder?
Outlook 2010 duplicate reminders
How can I export a report of a local computer policy?
Migrating blackberry enterprise server express form sbs 2003 to sbs 2008
Oracle and SQl training for Crystal Reports job
I need to build a biig and beefy IIS front end server. May I please have some help in configing the server
Draytek 2820 IPPBX setting up questions for VOIP
Trying to create a grid-paper like grid in java...
how to be able to push several files to ftp server, i receive 503 on fifth file, how to reuse ftp connection?