I am getting a error multiple row fetched while executing a
Cobol-DB2 program.How can I solve it without using a cursor.
Answer Posted / anamika
You cannot use 'Fetch first 1 row only' in a singleton
select in COBOL. Instead u can use 'SELECT TOP <colname>'
to get the first row in the result set.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Is db2 relational database?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
What are the 2 sqlcodes that are returned?
What is syscat in db2?
What is image copy in db2?
What is role in db2?
What are the various isolation levels possible?
What is drop table?
What is db2? Explain.
Which are the db2 tools to protect integrity of the database?
How do I import data from excel to db2?
what is the responsibility of the construction superintendent
How do I add a column in db2?
Name the lockable units in DB2?
What is ibm db2 database?