Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us