Syntax for copying a pds into another pds



IBM's Command List programming language & Restructured Extended Executor

Syntax for copying a pds into another pds

Postby senthil » Wed Jun 17, 2009 10:37 am

hi all,
can any one give me the syntax for copying a pds into another pds.
my source pds may contain more than 200 members,
my new pds should be an exact replica of the source pds.
Thanks
Senthil Kumar
senthil
 
Posts: 12
Joined: Mon Jun 01, 2009 3:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: copy pds into another

Postby dick scherrer » Wed Jun 17, 2009 11:07 am

Hello,

In tso/ispf select option 3 (utilities). Look down the list for a selection that says move/copy (i believe this is selection 3 again).

The system will ask for the old (existing) dataset and then the new one. When prompted for dataset info, specify the output dataset should be build using the input info. Simply specify all members and all will be copied from the old to the new dataset.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: copy pds into another

Postby expat » Wed Jun 17, 2009 4:00 pm

Or you could use IEBCOPY in batch
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: Syntax for copying a pds into another pds

Postby senthil » Thu Jun 18, 2009 12:11 pm

hi
i forgot to tell you that the copying process should be done in a rexx exec.
Thanks
Senthil Kumar
senthil
 
Posts: 12
Joined: Mon Jun 01, 2009 3:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Syntax for copying a pds into another pds

Postby expat » Thu Jun 18, 2009 5:26 pm

Invoke IEBCOPY from REXX, or use LM services - see the ISPF manuals for details.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post