At 06:43 +0300 on 07/07/2013, Binyamin Dissen wrote about Re: Reading PDS/PDSE members from within COBOL in a loop:

:>The only solution other then COBOL driver that I could consider is if it could be done from within the SORT utility (as the driver) because of its ubiquity, but I could not figure out whether and how it could be done.

Use a utility (IEBPTPCH, for one) that will dump the PDS into a flat file.

If all you want is the list of member names from a single PDS(E) (and will then read the members one by one) you can use ISPF to get a list of the member names and then feed the listing as a file into your program. You do a manual directory list and save the listing which is then referenced in your JCL. I am assuming that your COBOL program has the ability to open the PDF(E) one member at a time for processing.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to