need to access $AVRS/SAVRS
Posted: Thu Aug 26, 2010 11:06 pm
I have a requirement.
1) go to the $AVRS
2) find a particular job for a particular date.
3) go into the sysmsg of the job.
4) Search for a particular string(DSN name, will be unique) in all the lines.(i.e. iterating thru every line)
5) when a match is found, copy the whole line and the line next to it into a PS.
Now I can't think of an idea as how to go thru the entire process using REXX. Is it even posible? If yes could anybody shed some light as to how?
1) go to the $AVRS
2) find a particular job for a particular date.
3) go into the sysmsg of the job.
4) Search for a particular string(DSN name, will be unique) in all the lines.(i.e. iterating thru every line)
5) when a match is found, copy the whole line and the line next to it into a PS.
Now I can't think of an idea as how to go thru the entire process using REXX. Is it even posible? If yes could anybody shed some light as to how?