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
 

 

Rexx Pgm to copy All PDS from One ID 2 Another

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Rexx Pgm to copy All PDS from One ID 2 Another
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

Moderator Team Head


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

PostPosted: Fri Sep 01, 2006 4:06 pm    Post subject: Re: Rexx Pgm to copy All PDS from One ID 2 Another
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    Post subject: Re: Rexx Pgm to copy All PDS from One ID 2 Another
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

Moderator Team Head


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

PostPosted: Fri Sep 01, 2006 5:49 pm    Post subject: Re: Rexx Pgm to copy All PDS from One ID 2 Another
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


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