|
View previous topic :: View next topic
|
| Author |
Message |
prasannanobody
New User

Joined: 22 Jan 2007 Posts: 3 Location: chennai
|
|
|
|
hi everyone!
Could anybody tell me how to move the contents of a PS data set to another PS data set through JCL? |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
You can use IEBGENER to copy the PS to another PS in a batch job.
If you no longer want the input PS, it can be deleted in the jcl. |
|
| Back to top |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
Hi there,
You can also use sort for this
| Code: |
//SYSIN DD *
OPTION COPY
/* |
& Later if you want to delete input PS you can use
| Code: |
//SYSIN DD *
OPTION COPY
OMIT COND=ALL
/* |
|
|
| Back to top |
|
 |
|
|