Is there an MVS utility to print the contents of members in a PDS in a single sequential dataset?
You can use the IEBPTPCH utility, or use ISPF option 3.1. If you want the data to look "as is" you would probably want to use the IEBPTPCH "PUNCH" option. The IEBPTPCH "PRINT" option creates a listing with member headers and page numbers. The ISPF option shows the columns that the data starts in. Here is an example of using the IEBPTPCH PUNCH option:
//IEBPTPCH JOB ...
//STEP1 EXEC PGM=IEBPTPCH,REGION=2M
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=some.pds.to.punch,
//SYSUT2 DD DSN=userid.SEQ.DSN,
//SYSIN DD * PUNCH TYPORG=PO,PREFORM=A /*
For more information on IEBPTPCH see DFSMSdfp Utilities - http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1U111/
Senior software and systems architect, Zurich North America
Dig Deeper on IBM system z and mainframe systems
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.