ClaudeFountain
Programmer
Hi everyone.
I have been searching the various sites for a glimmer of hope. I have found none, so I have joined here to ask for help. I also tried searching the forums, but I'm not sure how to phrase what I am looking to do.
Basically, I have already setup a REXX program to ask for input from the user (a jobname) and then it customizes some JCL to do a CA7 batch execute to display all of the attributes of the specified job. That info is then dumped into a dataset.
Now, I need to extract some of that information. In more specific terms, I need to
1) find the words 'triggered by'.
2) capture the next line of data, if blank, goto 4.
3) goto 2
4) return the captured information into a variable or another dataset.
I used Rexx infrequently three+ years ago at my former employer, and have not used it since. I am trying to rebuild my knowledge of it. (And to automate some dreadfully mind-numbing tasks which our Parent company insists we do)
Thanks for any help.
I have been searching the various sites for a glimmer of hope. I have found none, so I have joined here to ask for help. I also tried searching the forums, but I'm not sure how to phrase what I am looking to do.
Basically, I have already setup a REXX program to ask for input from the user (a jobname) and then it customizes some JCL to do a CA7 batch execute to display all of the attributes of the specified job. That info is then dumped into a dataset.
Now, I need to extract some of that information. In more specific terms, I need to
1) find the words 'triggered by'.
2) capture the next line of data, if blank, goto 4.
3) goto 2
4) return the captured information into a variable or another dataset.
I used Rexx infrequently three+ years ago at my former employer, and have not used it since. I am trying to rebuild my knowledge of it. (And to automate some dreadfully mind-numbing tasks which our Parent company insists we do)
Thanks for any help.