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
 

 

REXX ISPF EDIT Macro to Copy Job Card

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

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Wed Nov 29, 2006 8:34 pm    Post subject: REXX ISPF EDIT Macro to Copy Job Card
Reply with quote

Please help me in writing a Rexx script to insert the Jobcard details into the member while in edit mode.

For ex:

I am preapring a JCL using some tools(file aid).

The job card info will be different,i need to edit it each time to make it compatible.if i we have a script,we can call th script which insert the Standard Jobcard into the member.


Thanks,
Ravi
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Wed Nov 29, 2006 8:58 pm    Post subject: Re: REXX ISPF EDIT Macro to Copy Job Card
Reply with quote

I moved this to the ISPF Forum, since I presume that you might actually want to create an ISPF EDIT Macro, written in REXX, to insert some records.

This is a crude, but functional skeleton:
Code:

/* REXX */                                                                                           
"ISREDIT MACRO"                                                             
lineno = 0                                                         
line = "//JOBNAME JOB (....),"
"ISREDIT LINE_AFTER "lineno" = (line)"                             
lineno = lineno + 1                                                 
line = "//       MSGCLASS="msgclass",MSGLEVEL=(1,1),NOTIFY=&SYSUID"
"ISREDIT LINE_AFTER "lineno" = (line)"                             
lineno = lineno + 1                                                 
line = "//*"                                                       
"ISREDIT LINE_AFTER "lineno" = (line)"                             
Exit 0                                                             
Back to top
View user's profile Send private message
ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Thu Nov 30, 2006 11:43 am    Post subject: Re: REXX ISPF EDIT Macro to Copy Job Card
Reply with quote

Thanks for your help!
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 Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts saving your settings in ISPF. VintageReceiver TSO/ISPF 9 Wed Jul 26, 2017 6:42 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am


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