IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Mon Apr 14, 2008 11:44 am
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 All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts DB2 Image Copy DFSMS MGMTCLAS Partial... DB2 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts PDS member list with stats JCL & VSAM 6
No new posts Copy only TEXT or String from a record SYNCSORT 4
Search our Forums:


Back to Top