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

Rexx Pgm to copy All PDS from One ID 2 Another


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dream4deepak

New User


Joined: 20 Jul 2006
Posts: 12

PostPosted: Fri Sep 01, 2006 2:21 pm
Reply with quote

Hi,
Can Any one tell me how to write a Rexx prg to copy all the PDS and its corresponding members from one User ID to Another ID.
For Ex I need to copy all the PDS and its corresponding members starting with yyy.* to zzz id .



Thanks in Advance.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 01, 2006 4:06 pm
Reply with quote

Show us the steps you would normally take to do this, and we can help you to convert them into a REXX exec.
Back to top
View user's profile Send private message
dream4deepak

New User


Joined: 20 Jul 2006
Posts: 12

PostPosted: Fri Sep 01, 2006 4:30 pm
Reply with quote

Hi,
i hav not done yet.
But the process would be manually taking one PDS then using LIstDs command to list all the members of the PDS thn Trap thm using OUTRAP
.Then we need to use some command to copy them to required place.

But this is wht i m thinking but dont know how to do this.

So can u please guide me or if possible send me a coding for this.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 01, 2006 5:49 pm
Reply with quote

Are you familiar with IEBCOPY? If not, then take a look here at the documentation. You'll need to run IEBCOPY.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Instream REXX? JCL & VSAM 13
No new posts CEMT using Rexx? Help please CLIST & REXX 3
No new posts get submitted JCL from SDSF with REXX... CLIST & REXX 2
No new posts DB2 Image Copy DFSMS MGMTCLAS Partial... DB2 2
Search our Forums:


Back to Top