CA Workload Automation ESP Edition

Expand all | Collapse all

Started Task Monitor

  • 1.  Started Task Monitor

    Posted 02-07-2020 09:06 AM
    Hi,

    We have a need to monitor the status of a started task. Is there a "monitor" utility available ?

    Dan


  • 2.  RE: Started Task Monitor

    Posted 02-07-2020 06:11 PM

    Hi Dan,

    The most common way to monitor STC is thru ACTIVE and REEXEC. See the example below:

    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/automation/ca-workload-automation-esp-edition/12-0/reference/statements/reexec-statement-re-execute-procedures.html

    Example: Using REEXEC with the ACTIVE function to check started task status
    In the following example:
    If CICS is active, ESP sends a message to console id 01 and re-executes the procedure in five minutes.
    If CICS is not active, ESP submits the CICSBKUP from PROD.JCL.CNTL.
    IF ACTIVE('CICS') THEN DO
    SEND 'CICS IS DUE TO COME DOWN' CN(01)
    REEXEC IN(5)
    ENDDO
    ELSE SUBMIT 'PROD.JCL.CNTL(CICSBKUP)'

    Hope this helps,

    Lucy