1.

How Do You Specify And Use A Cursor In A Cobol Program?

Answer»

USE DECLARE CURSOR statement either in working storage or in procedure division(before OPEN cursor), to SPECIFY the SELECT statement. Then use OPEN, FETCH ROWS in a loop and finally CLOSE.

Use DECLARE CURSOR statement either in working storage or in procedure division(before open cursor), to specify the SELECT statement. Then use OPEN, FETCH rows in a loop and finally CLOSE.



Discussion

No Comment Found