I have a requirement where I need to search a string "$HASP150' from spool and if found need to pickup that line to produce a report.
SDSF OUTPUT DISPLAY M958R2 JOB02114 DSID 2 LINE 0 COLUMNS 02- 81
COMMAND INPUT ===> SCROLL ===> CSR
********************************* TOP OF DATA ********************************
J E S 2 J O B L O G -- S Y S T E M S I 0 0 -- N
08.10.49 JOB02114 ---- MONDAY, 08 MAR 2021 ----
08.10.49 JOB02114 $HASP373 M958R2 STARTED - INIT 48 - CLASS 4 - SY
08.10.49 JOB02114 ACF9CCCD USERID M958 IS ASSIGNED TO THIS JOB - M958R2
08.10.49 JOB02114 IEF403I M958R2 - STARTED - TIME=08.10.49
08.10.50 JOB02114 JOB-M958R2 STEP-PDFINFO.TUPTRF PGM-AOPBATCH R.C.-0000
08.10.50 JOB02114 JOB-M958R2 STEP-PRINT.TUPTRF PGM-IEBGENER R.C.-0000
08.10.50 JOB02114 IEF404I M958R2 - ENDED - TIME=08.10.50
08.10.50 JOB02114 $HASP395 M958R2 ENDED - RC=0000
So, do I have to read the SYSLOG ? If so, how can this be done. Any suggestion wold be helpful please