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
 

 

how to copy one pds to another pds

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rahul4u

New User


Joined: 27 Apr 2006
Posts: 7

PostPosted: Tue May 16, 2006 5:43 pm    Post subject: how to copy one pds to another pds
Reply with quote

hi

how to copy one pds to another pds.as well as

how to copy one ps to anothe ps.

with sample program .can u expalin plz


thnk u very much
Back to top
View user's profile Send private message

shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Tue May 16, 2006 6:39 pm    Post subject:
Reply with quote

You can use this JCl to copy PS to PS

//COPY EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=A
//SYSLIST DD SYSOUT=A
//DD01 DD DSN=xxxx.xxxx.xxxxx,DISP=SHR
//DD01O DD DSN=xxxx.xxxx.xxxx,DISP=(,CATLG,DELETE),
// UNIT=SYSD@,LABEL=RETPD=90,
// DCB=(BLKSIZE=58200,LRECL=202,RECFM=FB),
// SPACE=(58200,(14000,135),RLSE,,ROUND)
//SYSIN DD *
$$DD01 COPY
/*
Back to top
View user's profile Send private message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Tue May 16, 2006 6:42 pm    Post subject:
Reply with quote

//COPY EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=A
//SYSLIST DD SYSOUT=A
//DD01 DD DSN=xxxx.xxxx.xxxxx,DISP=SHR
//DD01O DD DSN=xxxx.xxxx.xxxx,DISP=(,CATLG,DELETE),
// UNIT=SYSD@,LABEL=RETPD=90,
// DCB=(BLKSIZE=58200,LRECL=202,RECFM=FB),
// SPACE=(58200,(14000,135,800),RLSE,,ROUND)
//SYSIN DD *
$$DD01 COPY MEMBERS=ALL
/*


It will copy all the members of the PDS to another PDS
Back to top
View user's profile Send private message
Jag

New User


Joined: 07 Dec 2005
Posts: 30
Location: India

PostPosted: Wed May 17, 2006 10:48 pm    Post subject: Hi
Reply with quote

Hi friends,

There are JCL utilities present in order to copy one PDS to other PDS and One seqential file to other ..This is the most Easiest way to get the things done...

IEBGENR is used to copy sequential files...
IEBCOPY is used to Copy one PDS to other PDS and you have many options like Copy a perticular member(s) or exclude a perticular member(s) fropm PDS..

You can get this Syntax in any JCL book or in net..

I hope you are clear..If not feel free to ask..

Cheers,
Jag
Back to top
View user's profile Send private message
rahul4u

New User


Joined: 27 Apr 2006
Posts: 7

PostPosted: Wed May 17, 2006 11:03 pm    Post subject:
Reply with quote

thnk u all
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


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