|
|
| Author |
Message |
rskumar
New User
Joined: 21 Nov 2005 Posts: 18 Location: chennai
|
|
|
|
Hi all,
Can anyone give me the rexx routine to get the contents of a jcl program coded between two "execs" i.e., between 2 "exec pgm="? |
|
| Back to top |
|
 |
References
|
Posted: Tue May 09, 2006 11:56 am Post subject: Re: Need for a Rexx routine for contents between 2 "execs&q |
 |
|
|
 |
nuck
New User
Joined: 09 Dec 2005 Posts: 35
|
|
|
|
Hi,
if this is source JCL (and not something from within SDSF), read the file into a stem var, then loop thru the lines searching for 'EXEC'. KISS.
should take YOU about 5 mins to write.
hope that helps.... |
|
| Back to top |
|
 |
|
|