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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
Search our Forums:

Back to Top