View previous topic :: View next topic
|
Author |
Message |
pattabiraman.baskaran
New User
Joined: 10 Aug 2006 Posts: 23
|
|
|
|
Hi,
My requirement is to overwrite a line number of the JCL with the given data. Is there any command in REXX to do it?
Example:
000001 //C0177C1T JOB ('TEST'),MSGCLASS=O,NOTIFY=&SYSUID,CLASS=T
Output should be:
LINE01 //C0177C1T JOB ('TEST'),MSGCLASS=O,NOTIFY=&SYSUID,CLASS=T
The line number "000001" should be replaced by "LINE01".
Please help me out to handle this. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Read in update mode until you get to the desired record.
Use the OVERLAY command to replace the number.
Write the updated record. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I don't believe you can overlay the editor's line number just like this; I think you should design your own edit panel.
O. |
|
Back to top |
|
|
|