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

All about SAF, RACF, encryption, Firewall, Risk assessment and integrity concepts
Gururao78
Posts: 9
Joined: Mon Sep 28, 2009 5:09 am
Skillset: IBM-COBOl, CICS,JCL,DB2
Referer: Internet

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

Postby Gururao78 » Wed Sep 30, 2009 4:11 pm

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

User avatar
MrSpock
Global moderator
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
Referer: ibmmainframes.com
Location: Raleigh NC USA
Contact:

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

Postby MrSpock » Wed Sep 30, 2009 4:31 pm

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.

Bill Dennis
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Skillset: MVS
MQ
ISPF
Referer: sister site

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

Postby Bill Dennis » Wed Sep 30, 2009 6:59 pm

Also, the ISPF "SAVE" command while viewing a member list. The command SAVE MYLIST will write the list into dataset 'yourid.MYLIST.MEMBERS'
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.


  • Similar Topics
    Replies
    Views
    Last post