Why we should use cursor ?
Answers were Sorted based on User's Feedback
Answer / randy
By Using Cursor, we can fetch more than one record from database.
Is This Answer Correct ? | 0 Yes | 0 No |
Cursor is used to fetch more than one row at a time from db2 table.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manhem
To fetch more than one row from DB2 table, Cursor is used
Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between COMP & COMP-3 ?
How do u initialize an array?
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
what is internal sort and external sort ? which is preferable ?
How do define dynamic array in cobol.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
In COBOL "BEFORE" advancing is there or not ?
How you can characterize tables in cobol?