elixir1986
New User
Joined: 10 Nov 2015 Posts: 45 Location: USA
|
|
|
|
Hi Team,
My requirement is to find a string(say 15 digit xref id) in a job(fixed job name) that may be spool(sdsf) or CA7/SAR spool.
The job runs multiple times during the day.
The string may be present in a DD statement in that job in spool. Unfortunately I cannot copy the DD statement displaying in spool into file as the report(from the job output) is used by external clients for printing purposes.
My design approach is,
1) To give the 15 digit xref id/s through screen input OR file and the approximate time of job execution in hours and minutes(12 or 24 hour format).
2) The REXX should try to find the 15 digit xref ID in that time frame(10 minutes before and after input hours and minutes) and get details from the DD statement in that job spool(regular sdsf OR CA7/SAR spool).
Any constructive design/approach(not suitable for REXX and can be done using COBOL/SORT say) suggestions OR follow-up questions are much appreciated. |
|