Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copy all the members of pds to one member of another pds

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
nitishniki

New User


Joined: 27 Dec 2007
Posts: 10
Location: Banglore

PostPosted: Mon Apr 14, 2008 11:03 am    Post subject: Copy all the members of pds to one member of another pds
Reply with quote

can i copy all the members of pds to one member of another pds by FILEAID utility.
i tried it but i am not able to do it. inturn it is deleting the pds liburary where i tried to copy
so q is, can i do it or it is not possible with fileaid.. icon_exclaim.gif icon_question.gif
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Mon Apr 14, 2008 11:44 am    Post subject:
Reply with quote

Hi,
yes you can copy all members of a PDs to 1 member of another PDS

The only reason as to why the dataset is deleted has to do with the DISP parameter you have coded

Code:
//**********************************************************************
//*                                                                     
//FILEAID  EXEC PGM=FILEAID                                             
//SYSPRINT DD SYSOUT=*                                                 
//DD01     DD DSN=INPUT DATASET                                         
//            DISP=SHR                                                 
//DD01O    DD DSN=OUTPUT.DATASET(X),                                   
//            DISP=(,CATLG,DELETE),                                     
//            UNIT=SYSDA,                                               
//            SPACE=(TRK,(250,50,1),RLSE),                             
//            DCB=(RECFM=FB,LRECL=80)                                   
//SYSIN    DD *                                                         
$$DD01 COPY MEMBERS=ALL                                                 
//*                                                                     
//**********************************************************************


Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us