Why we should use cursor ?

Answers were Sorted based on User's Feedback



Why we should use cursor ?..

Answer / randy

By Using Cursor, we can fetch more than one record from database.

Is This Answer Correct ?    0 Yes 0 No

Why we should use cursor ?..

Answer / azharuddinsyed

Cursor is used to fetch more than one row at a time from db2 table.

Is This Answer Correct ?    0 Yes 0 No

Why we should use cursor ?..

Answer / manhem

To fetch more than one row from DB2 table, Cursor is used

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is sync clause?

2 Answers   DELL,


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1 Answers  


88 class is used for

5 Answers   CTS, EDS,


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.

8 Answers   Danske, iGate,


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

5 Answers   TCS,


IF I mention stop run in CICS what happens?

1 Answers   IBM,


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.

3 Answers  


How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,


Which is not true about evaluate statement

1 Answers  


what happens if we dont close cursor in db2-cobol pgm?

6 Answers  


what is the difference between Plan & package

3 Answers   IBM,


Categories