IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need for a Rexx routine for contents between 2 "execs&q


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rskumar

New User


Joined: 21 Nov 2005
Posts: 35
Location: chennai

PostPosted: Tue May 09, 2006 11:56 am
Reply with quote

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
View user's profile Send private message
nuck

New User


Joined: 09 Dec 2005
Posts: 33

PostPosted: Wed May 24, 2006 5:33 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Get RECORD LENGTH, allocated space of... CLIST & REXX 7
No new posts SDSF and Rexx TSO/ISPF 4
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
Search our Forums:

Back to Top