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
Which component is responsible for db2 startup and shutdown?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
Define sqlca.
List out the three types of page locks that can be held.
How would the varchar column remarks defined?
What is universal database?
How can you classify the locks in db2?
What is concurrency?
What is dbrm? What it contains?
can we view the access paths created by dbrm ? how ? thx
How to execute stored procedure in db2 command editor?
How can you count the number of rows from a table tab?
How would you find out the total number of rows in a db2 table?
How connect db2 database to datastage?
What is the information associated with sysibm.syslinks table?