MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MACRO Program to do the same changes in 200 JCL's

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
priyam
Beginner


Joined: 05 Jul 2006
Posts: 16
Topics: 12

PostPosted: Wed Jul 04, 2007 8:15 am    Post subject: MACRO Program to do the same changes in 200 JCL's Reply with quote

Hi,

I tried to write a MACRO to do the following.
My JCL looks like:
Code:

//JOBCARD
//.............
//.............
//STEP1 EXEC PROC=PROC0,
//          SYSUID=$ABC

I should make the below changes to the JCL
Code:

//JOBCARD
//.............
//.............
//         SET Q1=R100
//STEP1 EXEC PROC=PROCJ
//*STEP1 EXEC PROC=PROC0,
//*          SYSUID=$ABC


Have to Add one line, comment last two lines,repeat a line and change 0 to J. I need to make the same change to some 200 JCL which are similar to the above one.

So, I tried to write a MACRO to do the above changes.I tried to find out the MACRO commands in Net. I don't know many commands like to "Repeat the line", "Place the cursor before the last line".

Can anyone help me on this?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jul 04, 2007 10:30 am    Post subject: Reply with quote

This link is the ISPF for z/OS library.

All books in the SC34-48 range which are all the ISPF related docs.

Would also suggest downloading the REXX manuals. In one of them, they have an example of a control REXX called ALLMEMS, i think.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group