Q
Problem solve Get help with specific problems with your technologies, process and projects.

Print Partitioned Data Set (PDS) sequentially

The IEBPTPCH utility on MVS can help you to print the members of a Partitioned Data Set (PDS) together in a sequential data set.

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, 
//   DISP=SHR 
//SYSUT2 DD DSN=userid.SEQ.DSN, 
//   DISP=(,CATLG), 
//   UNIT=SYSDA, 
//   SPACE=(TRK,(150,50),RLSE), 
//   DCB=(LRECL=80,RECFM=FB,BLKSIZE=0) 
//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

This was last published in November 2008

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close