View previous topic :: View next topic |
Author |
Message |
rsivananda Beginner
Joined: 11 Aug 2004 Posts: 30 Topics: 10
|
Posted: Fri Dec 09, 2005 3:53 am Post subject: File Aid -Selective copy of Members of a PDS |
|
|
Hi
I am trying to copy members from Panvalet library to a local PDS using the jcl below.
It copies all the members however i just need few programs which i can list in the jcl. Please tell me how can i do this?
Code: |
//STEP01 EXEC PGM=FILEAID
//*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DD01 DD DSN=PANLIB,DISP=SHR
//DD01O DD DSN=LOCALLIB,DISP=SHR
//SYSIN DD *
$$DD01 COPY
/*
|
I think i am mising some syntax to list the members for selective copy from input to output lib.
Regards
Siva |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Fri Dec 09, 2005 9:22 am Post subject: |
|
|
rsivananda,
Change your Sysin to the following.
Code: |
//SYSIN DD *
$$DD01 COPY MEMBERS=ABC*
|
This will copy all the members whose names start with ABC
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|