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

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top