On Tue, 9 Jul 2013 12:16:36 -0500, Rick Arellanes wrote: >The answer is yes, you can use COBOL to read a PDS directory and process each >member separately. Define 2 files: 1 (PDS-DIR) to read the PDS directory and >one (PDS-FILE) to read each member. The one to read the directory (PDS-DIR) is >RECORDING MODE U with a record of PIC X(256). > I would have used F, but it doesn't matter.
>The other (PDS-FILE) is to read the member (e.g., RECORDING MODE F with a >record of PIC X(80)). Define a LINKAGE SECTION item to map the PDS directory >layout (you can find this in the DFSMS books). > Emphasize the "e.g". It should be the RECFM and LRECL of the data set. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN