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

i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast

4 Answers   L&T,


What are declaratives and what are their uses in cobol?

0 Answers  


ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete

4 Answers   TCS,


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

0 Answers   Steria,


is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,






what happens of we dont give time stamp in precompilation process

2 Answers  


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

0 Answers   IBM,


If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

3 Answers   GreenTree, IBM,


what is record label is empty or standard in file description of data division?

2 Answers   HCL,


How many bytes do a s9 (7) comp-3 field occupy?

1 Answers  


how do u indetify files succesfully executed or not ?

4 Answers   TCS,


Categories