View previous topic :: View next topic
|
Author |
Message |
vijayarockiarajkp
New User
Joined: 18 Jul 2006 Posts: 7 Location: USA
|
|
|
|
Hi,
Can anyone send me the JCL which is used to copy the first three members of the input PDS to the output PDS.
Thanks
Vijay |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
You'll need to use IEBCOPY. However, you're going to have to tell it what the names of the first three members are. There is no built-in feature for that. |
|
Back to top |
|
|
kishorepushkar
New User
Joined: 11 Sep 2006 Posts: 1 Location: noida
|
|
|
|
hi
you can use the IEBCOPY ibm utility for that. but there is utility to copy only the first three members only.
In the IEBCOPY jcl just code
//SYSIN DD *
COPY INDD=SYSUT1,OUTDD=SYSUT2
SELECT MEMBER=(MEMBER1, MEMBER2. ..)
/*
// |
|
Back to top |
|
|
vijayarockiarajkp
New User
Joined: 18 Jul 2006 Posts: 7 Location: USA
|
|
|
|
Hi Kishore,
Thanks for the reply but i need to copy the first 3 members without specifying their names. Is it possible.
Vijay |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
You somehow have to provide them. You'll have to use a program or a script to determine what the names of the first three members are. Then, they can be plugged into the ICETOOL control statements. |
|
Back to top |
|
|
|