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
Warnings : 1

New User

Joined: 10 Nov 2015
Posts: 44
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top