How do you specify and use a cursor in a COBOL program?

Category: General Question    |    5 views
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.

Share/Save/Bookmark

1 Star2 Stars
Loading ... Loading ...

0 responses so far!

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word