Reading the records from a KSDS in reverse order in COBOL.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Previous topicNext topic

Topic Author
alpna
Registered Member
Posts: 38
Joined: Fri Jun 21, 2013 10:35 pm
Zodiac: Virgo

Reading the records from a KSDS in reverse order in COBOL.

Post by alpna » Sat Oct 14, 2017 8:32 pm

Hi,

How Can we read the records in a KSDS in reverse order in COBOL? Could you please advise.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Reading the records from a KSDS in reverse order in COBOL.

Post by Robert Sample » Sun Oct 15, 2017 4:13 am

COBOL does not support reading KSDS records in reverse order. CICS allows you to do so, but that is specific to CICS programs and not COBOL.



Previous topicNext topic

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”