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

Search string in job at regular Spool(sdsf) OR CA7/SAR spool


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

New User


Joined: 10 Nov 2015
Posts: 45
Location: USA

PostPosted: Sat Feb 18, 2023 12:16 am
Reply with quote

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.
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 Copy only TEXT or String from a record SYNCSORT 4
No new posts ICETOOL to SUM String DFSORT/ICETOOL 1
No new posts Reroute print output via REXX/SDSF TSO/ISPF 6
No new posts Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts How can I add/create a new INIT(initi... TSO/ISPF 2
Search our Forums:

Back to Top