Keep in mind that you can eliminate the steps/overhead of needing to 'create and submit' a job that does the SDSF commands within your triggering REXX from the rule, by just utilizing the Address SDSF REXX host environment directly in that called REXX pgm. The key is to make sure that the AOF triggers the pgm to run as a TSO/E REXX and not an OPS/REXX since Address SDSF is not supported in an OPS/REXX pgm. Meaning, most AOF rules trigger OPS/REXX pgms by coding Address OSF "OI pgmname". The 'OI' is what creates the OPS/REXX environment in the TMP. Removing the 'OI' and just doing Address OSF "pgmname", will allow the pgm to run under TSO/E and thus you can code and use Address SDSF directly in the pgm. As long as any needed TSO data sets (if any) to make Address SDSF work, are available to the OPSOSF server, then it will work. If you need to perform 'OPS/MVS' work from this TSO/E pgm, (issue cmds, wtos, set variables, update RDF tables, etc) , you would use the OPS/MVS POI TSO command processors (OPSCMD,OPSWTO,OPSQL,OPSSETV,
etc) to do this work. Last note is that if you are also a CA Sysview user, you can use the Address Sysviewe "LISTFILE...." command from within an OPS/REXX pgm to also extract data/events from job logs/files. There is a SYSVOUTP sample within opsmvshlq.CCLXSAMP if you are a Sysview customer....
Original Message:
Sent: 09-24-2019 04:53 AM
From: Wladyslaw Borysow
Subject: Job log search using CA OPS/MVS
Thank You!
this function looks very interesting, but it can not be used in our case (we don't know all the jobs and we can't modify their JCL).
For now we prepared temp solution with AOF rule calling rexx which creates job, which then calls SDSF environment to look for job output.
Best regards,
Wladyslaw
Original Message:
Sent: 09-23-2019 10:06 AM
From: Hennie Hermans
Subject: Job log search using CA OPS/MVS
Hi Wladyslaw,
About your question on the additional output 'scans' of messages in jobs. This can be done by the use of the CA OPS/MVS Generic Dataset Interface (GDI). Using the interface you can direct output from job sysout or datasets to the OPSLOG..
Please see this knowledge document:
https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=41336&_ga=2.249317583.954397192.1569218250-2085140052.1559561213
and in the manual:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/automation/ca-ops-mvs-event-management-and-automation/13-5/installing/installing-and-configuring-optional-components/how-you-install-and-configure-optional-base-components/direct-generic-data-set-output.html
Check if this answers your request..
Best regards
Hennie Hermans
CA Technologies, A Broadcom Company
------------------------------
Principal Support Engineer
Broadcom
Original Message:
Sent: 09-20-2019 09:45 AM
From: Wladyslaw Borysow
Subject: Job log search using CA OPS/MVS
Hello,
I am wandering if it is possible to somehow "scan" job log using OPS. From AOF MSG rule we can catch JOBNAME,JOBID,MESSAGE TEXT, but we need extra info from the job log. Is there any procedure in OPS to do that?
Thank You!