MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File Aid -Selective copy of Members of a PDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
rsivananda
Beginner


Joined: 11 Aug 2004
Posts: 30
Topics: 10

PostPosted: Fri Dec 09, 2005 3:53 am    Post subject: File Aid -Selective copy of Members of a PDS Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Dec 09, 2005 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group