AutoSys Workload Automation

  • 1.  SAPEVT Job Type - Anyone using that had issues?

    Posted Feb 27, 2017 04:17 PM

    Hello,

     

    We are currently testing the SAPEVT job type in our environment with an upcoming PLM project and we have configured the job to complete once the event has been triggered.  This will subsequently trigger an ABAP dependency.

     

    We initialize the job and the sap agent shows the event is registered, however in controlled testing when we know the event is getting triggered, the job is not completing as it should.  We do not have the job set to continuously monitor.  It should finish once the event is triggered.

     

    Has anyone who is using the SAPEVT job type ran into this issue?  

     

    We are on 11.3.6 SP4 (AE), 11.4 SP3 (WCC), and AE Agent 11.4 with latest SP for SAP Agent.

     

    Any feedback would be helpful.

     

    Thanks,

    Chris Kent

    Dart Container Corporation



  • 2.  Re: SAPEVT Job Type - Anyone using that had issues?

    Broadcom Employee
    Posted Mar 06, 2017 06:07 PM

    Hi Chris,

     

    I do a test to run an SAPEVT job with "continuous: 0".  When the job starts the SAP event is registered with no alert.

    When I trigger the event, the job completes with a message <ZJACK_SAP_TESTEV: triggered> in the scheduler log.

     

    autorep -J testSAPEvt01 -r 3694 -d

    .......

    testSAPEvt01                                                     03/06/2017 17:33:31  03/06/2017 17:35:00  SU    3694/1   0

    ......

    RUNNING 03/06/2017 17:33:31 1 PD 03/06/2017 17:33:31<machine-name>
    <ZJACK_SAP_TESTEV@BI1: registered with no alert>
    SUCCESS 03/06/2017 17:35:00 1 PD 03/06/2017 17:35:00 <machine-name>
    <ZJACK_SAP_TESTEV@BI1 triggered>

    .......

     

    When I run the same job with "continuours: 1", and when the job starts, the SAP Event is registered with alert.

    When the registered event is triggered in SAP, an alert can be seen in the scheduler log and the job stays in RU status:

     

    [03/06/2017 17:46:17] CAUAJM_I_40245 EVENT: ALERT JOB: testSAPEvt01 MACHINE: <machine-name>
    [03/06/2017 17:46:17] <ZJACK_SAP_TESTEV@BI1 triggered>

     

    autorep -J testSAPEvt01 -d

    .....

    testSAPEvt01                                                     03/06/2017 17:45:16  -----                RU    3695/1

    .....

    RUNNING 03/06/2017 17:45:16 1 PD 03/06/2017 17:45:16 <machine-name>
    <ZJACK_SAP_TESTEV@BI1: registered with alert <testSAPEvt01>>
    [ALERT] 03/06/2017 17:46:16 1 PD 03/06/2017 17:46:17 <machine-name>
    <ZJACK_SAP_TESTEV@BI1 triggered>

    ....

     

    Hope this helps.

     

    Regards,

    Jack



  • 3.  Re: SAPEVT Job Type - Anyone using that had issues?
    Best Answer

    Posted Mar 09, 2017 12:21 PM

    Jack

    Your suggestion was helpful.  It has cleared up some problems we thought were from AE.  It looks like developers are wrapping the event in a certain way that is not being seen by the monitor.  

     

    Thanks,

    Chris



  • 4.  Re: SAPEVT Job Type - Anyone using that had issues?

    Posted Mar 09, 2017 12:28 PM

    continuous is not suitable for AutoSys.

    this is a pragma from cybermation which did things differently. in my opinion. many of us know to not use continuous ..

    good luck.