1.

Explain How Can You Specify And Use A Cursor In A Cobol Program?

Answer»

Try to USE DECLARE CURSOR statement EITHER in WORKING STORAGE or in procedure division, to specify the SELECT statement Then use OPEN, FETCH rows in a loop and FINALLY CLOSE.

Try to use DECLARE CURSOR statement either in working storage or in procedure division, to specify the SELECT statement Then use OPEN, FETCH rows in a loop and finally CLOSE.



Discussion

No Comment Found