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
 

 

copy the mem2 jcl code in to the mem1 without CUT & PAST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Pune

PostPosted: Thu Oct 26, 2006 4:03 pm    Post subject: copy the mem2 jcl code in to the mem1 without CUT & PAST
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Thu Oct 26, 2006 4:08 pm    Post subject: Re: copy the mem2 jcl code in to the mem1 without CUT &
Reply with quote

mahi wrote:
Is there any command to copy the entire code of MEM1 into MEM2?


Um, COPY? As in COPY MEM1.
Back to top
View user's profile Send private message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Pune

PostPosted: Thu Oct 26, 2006 4:44 pm    Post subject:
Reply with quote

I want to append MEM1 CODE to MEM2 code..
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Oct 26, 2006 5:03 pm    Post subject:
Reply with quote

Go into MEM2, mark A at the target line, and supply the command COPY MEM1.

O.
Back to top
View user's profile Send private message
mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Pune

PostPosted: Thu Oct 26, 2006 5:21 pm    Post subject:
Reply with quote

Thank You ..
It is working fine..
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Oct 26, 2006 5:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 0 Tue Jan 17, 2017 4:26 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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