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 sync clause?
how we can edit records in vsam data set and non vsam data sets
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
88 class is used for
There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
IF I mention stop run in CICS what happens?
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.
How to read a record from bottom of a file which is indexed by 'A'.
Which is not true about evaluate statement
what happens if we dont close cursor in db2-cobol pgm?
what is the difference between Plan & package