Copy member names from a PDS to a PS.

JES2/3, JCL, utilities.
Post Reply
Suresh TCS
Registered Member
Posts: 11
Joined: Fri Mar 21, 2014 11:19 am

Copy member names from a PDS to a PS.

Post 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?
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

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

Post by zprogrammer »

Step1: LISTDS '<PDS NAME>' MEMBERS under IKJEFT01
Step2: Sort
zprogrammer
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

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

Post 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.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Ashit Shah
New Member
Posts: 7
Joined: Thu Apr 24, 2014 12:00 pm

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

Post by Ashit Shah »

Yes, I've used SAVE LIST for this many times successfully.
Suresh TCS
Registered Member
Posts: 11
Joined: Fri Mar 21, 2014 11:19 am

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

Post 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.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”