Use IEBPTCH or IEBUPDTE. Both can process all members of a PDS - although I believe both can read/process only LRECL=80 (but you could zap them to change that).

I would suggest writing some assembler code that invokes the BLDL macro to read the PDS directory, and then read/process each PDS member in turn. This could deal with all 'circumstances'.

CP (retired sysprog)


Paul Gilmartin wrote:

On Tue, 14 Jun 2016 12:47:24 -0500, Bill Woodger wrote:

IEBPTPCH. Flattens a PDS to a sequential dataset and handily indicates where 
members start/end with name. Can even update/create new output and get it back 
into a PDS.

Does it deal nicely with a PDS that may contain members which
are themselves IEBPTPCH JCL with instream data by somehow
protecting images of IEBPTPCH comands?

Has it any restrictions on RECFM/LRECL?

-- gil

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



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

Reply via email to