Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

CLIST & REXX :: RE: Insert Lines in JCL with Rexx after a particular line

$
0
0
Author: Willy Jensen
Posted: Wed Aug 31, 2016 1:02 pm (GMT 5.5)

I just did something similar. Note that the line_after can take a line number as argument, which allowed me to do:
Code:

n=some-line-number
l1 = 'first line inserted'
l2 = 'second line inserted'
l3 = 'third line inserted'
"line_after" n "= (l3)"  /* insert in */
"line_after" n "= (l2)"  /* reverse  */
"line_after" n "= (l1)"  /* order     */

_________________
WJ


Viewing all articles
Browse latest Browse all 9405

Trending Articles