CA Workload Automation ESP Edition

Expand all | Collapse all

USS trigger not working

  • 1.  USS trigger not working

    Posted 09-17-2019 10:28 AM
    Good morning.

    I have been trying to implement a USS trigger but it has not been working out well. Currently we have an application that creates log files in USS and I am trying to cut those to a GDG when they are created, but the trigger isn't kicking off my event.

    EVENT ID(DXRACF.RACFAGENT_LOG) OWNER(applicationId) SYSTEM(MASTER) -
    REPLACE
    COM *** ***
    COM *** COPY RACFAGENT.LOG ***
    COM *** ***
    SEND 'UNIX TRIGGER ON NEW FILE AT %ESPATIME ' USER(USERSYS)
    SEND 'PRODUCTION %SYSPLEX' USER(USERSYS)
    SUBMIT 'DXX.D940.ITIM.CNTL(AGENTLOG)'
    DSTRIG /apps/itimrw6/log/racfagent.log_0- USS

    I was under the assumption that - was a variable so it would grab logs as they were created. The original log file is racfagent.log, and when it fills up it copies the logs to racfagent.log_001. When it fills again it copies to racfagent.log_002
    I need to get these cut to a GDG, as once the logs hit 20, they roll and are overwritten.

    What can I do to ensure this triggers when the files are written to?


  • 2.  RE: USS trigger not working

    Posted 09-18-2019 11:05 AM
    Hi Frank,

    Wildcard for USS DSTRIG currently is not supported.

    Since the log file names are definite, you can add one DSTRIG for one log file, like:
    DSTRIG /apps/itimrw6/log/racfagent.log_001 USS
    DSTRIG /apps/itimrw6/log/racfagent.log_002 USS
    ....
    DSTRIG /apps/itimrw6/log/racfagent.log_020 USS

    If it's the first time you use USS DSTRIG, following FAQ may help:
    https://ca-broadcomcsm.wolkenservicedesk.com/wolken/esd/knowledgebase_search?articleId=39438

    Please see if it works.

    Lucy