View previous topic :: View next topic
|
Author |
Message |
mahi
New User
Joined: 04 Apr 2006 Posts: 86 Location: Hyderabad
|
|
|
|
hi,
I have Two JCL members(mem1 & mem2) in my PDS. I want to copy the mem2 jcl code in to the mem1.
This same thing I have to do many times for different memebers.
IS there any easy method to do this apart from CUT and PASTE.
Is there any command to copy the entire code of MEM1 into MEM2? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
mahi wrote: |
Is there any command to copy the entire code of MEM1 into MEM2? |
Um, COPY? As in COPY MEM1. |
|
Back to top |
|
|
mahi
New User
Joined: 04 Apr 2006 Posts: 86 Location: Hyderabad
|
|
|
|
I want to append MEM1 CODE to MEM2 code.. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Go into MEM2, mark A at the target line, and supply the command COPY MEM1.
O. |
|
Back to top |
|
|
mahi
New User
Joined: 04 Apr 2006 Posts: 86 Location: Hyderabad
|
|
|
|
Thank You ..
It is working fine.. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
If you don't want to mark a line, and you just want to append it to the end of MEM2, you can try the following command: COPY MEM1 AFTER .ZLAST
O. |
|
Back to top |
|
|
|