Bob,

If your intention is to read entire PDS (all the members) and write them 
to a sequential file then you can use good old program IEBPTPCH to print 
the members. 

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2U170/10.0?

Other utilities like IBMs File Manager have much more robust capabilities 
in terms of member selection with wild card functionality and you can even 
perform updates ( change 'string 1' to 'string 2' ) (search for FCH in the 
manual for this)

//******************************************************************* 
//* COPY ALL THE PDS MEMBERS THAT HAS "D" ANYWHERE IN THE NAME      * 
//******************************************************************* 
//STEP0100 EXEC PGM=FILEMGR 
//SYSPRINT DD SYSOUT=* 
//PDS      DD DISP=SHR,DSN=KOLUSU.PLAY.PDS 
//DDOUT    DD SYSOUT=* 
//SYSIN    DD * 
$$FILEM DSC INPUT=PDS,MEMBER=*D* 
//* 

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/fmnu1m00/2.3.4.11?


Thanks,
Kolusu



From:   "Lester, Bob" <[email protected]>
To:     [email protected]
Date:   02/10/2016 05:08 PM
Subject:        DD DSN=xx.xx.xx reads all members if it's a PDS?
Sent by:        IBM Mainframe Discussion List <[email protected]>



Hi Folks,

     OK, it's only Wednesday, but....

     Wouldn't it be nice if you could code:

     //SOMEDD DD DSN=SOME.PDS.DSN,DISP=SHR

     ...and it would read all the members in order?  Maybe even any order 
you specify?

     Maybe (ducking!) like it works with GDGs when you specify the base 
only?

     Am I crazy before Friday?

Thanks!
BobL

This e-mail transmission may contain information that is proprietary, 
privileged and/or confidential and is intended exclusively for the 
person(s) to whom it is addressed. Any use, copying, retention or 
disclosure by any person other than the intended recipient or the intended 
recipient's designees is strictly prohibited. If you are not the intended 
recipient or their designee, please notify the sender immediately by 
return e-mail and delete all copies. OppenheimerFunds may, at its sole 
discretion, monitor, review, retain and/or disclose the content of all 
email communications.

----------------------------------------------------------------------
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