Page 1 of 1

Copy member names from a PDS to a PS.

Posted: Tue Sep 30, 2014 10:43 am
by Suresh TCS
Hi,

Is there any way that I can copy just the member names and not the content of the members from a PDS to a PS?

Re: Copy member names from a PDS to a PS.

Posted: Tue Sep 30, 2014 12:05 pm
by zprogrammer
Step1: LISTDS '<PDS NAME>' MEMBERS under IKJEFT01
Step2: Sort

Re: Copy member names from a PDS to a PS.

Posted: Tue Sep 30, 2014 12:22 pm
by Anuj Dhawan
You can also make use of ISPF "SAVE" command when viewing a member list. Issue 'SAVE MYLIST' will write the list into dataset 'yourid.MYLIST.MEMBERS'

You can also use PRINT INDEX options from various ISPF panels.

Re: Copy member names from a PDS to a PS.

Posted: Tue Sep 30, 2014 5:19 pm
by Ashit Shah
Yes, I've used SAVE LIST for this many times successfully.

Re: Copy member names from a PDS to a PS.

Posted: Mon Jul 30, 2018 12:53 pm
by Suresh TCS
Anuj Dhawan wrote: Tue Sep 30, 2014 12:22 pmYou can also make use of ISPF "SAVE" command when viewing a member list. Issue 'SAVE MYLIST' will write the list into dataset 'yourid.MYLIST.MEMBERS'

You can also use PRINT INDEX options from various ISPF panels.
Thank you. This has worked for me.