Page 1 of 1

Need to copy just member names from a PDS to a PS

PostPosted: Wed Sep 30, 2009 4:11 pm
by Gururao78
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 ?

Guru

Re: Need to copy just member names from a PDS to a PS

PostPosted: Wed Sep 30, 2009 4:31 pm
by MrSpock
TSO LISTDS 'MY.PDS' MEMBERS

TSO PRINTDS DATASET('MY.PDS') DIRECTORY NOTITLE TODATASET('MY.PDS.SEQ')


And there's the PRINT INDEX options from various ISPF panels.

Re: Need to copy just member names from a PDS to a PS

PostPosted: Wed Sep 30, 2009 6:59 pm
by Bill Dennis
Also, the ISPF "SAVE" command while viewing a member list. The command SAVE MYLIST will write the list into dataset 'yourid.MYLIST.MEMBERS'