AutoSys Workload Automation

Expand all | Collapse all

Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC

  • 1.  Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC

    Posted Jul 23, 2018 10:25 AM

    Hi,

    Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC,

    What does Exit code:51 mean? Could someone help me with this?

    [7/23/2018 6:18 PM]  

    No Title 

    [07/23/2018 07:26:00]     CAUAJM_I_40245 EVENT: STARTJOB         JOB: PNR_Z_OTC_POLL_MOVIDSD_12

    [07/23/2018 07:26:01]     CAUAJM_I_10208 Machine usages obtained for job <PNR_Z_OTC_POLL_MOVIDSD_12>:

    [07/23/2018 07:26:01]     CAUAJM_I_10209 Machine <cwpaus010_PNR1> selected for job <PNR_Z_OTC_POLL_MOVIDSD_12>.

    [07/23/2018 07:26:01]     CAUAJM_I_40245 EVENT: CHANGE_STATUS    STATUS: STARTING        JOB: PNR_Z_OTC_POLL_MOVIDSD_12 MACHINE: cwpaus010_PNR1

    [07/23/2018 07:26:01]     CAUAJM_I_10082 [cwpaus010_PNR1 connected for PNR_Z_OTC_POLL_MOVIDSD_12 1510.76000291.1]

    [07/23/2018 07:26:01]     CAUAJM_I_40245 EVENT: CHANGE_STATUS    STATUS: RUNNING         JOB: PNR_Z_OTC_POLL_MOVIDSD_12 MACHINE: cwpaus010_PNR1

    [07/23/2018 07:26:01]     CAUAJM_I_40245 EVENT: CHANGE_STATUS    STATUS: FAILURE         JOB: PNR_Z_OTC_POLL_MOVIDSD_12 MACHINE: cwpaus010_PNR1  EXITCODE:  51

    [07/23/2018 07:26:02]     CAUAJM_I_20216 Email notification pending for job <PNR_Z_OTC_POLL_MOVIDSD_12>.

    [07/23/2018 07:26:02]     CAUAJM_I_20215 Email notification sent successfully for job <PNR_Z_OTC_POLL_MOVIDSD_12>. 

     

    Thanks,

    Arun Balaji



  • 2.  Re: Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC

    Posted Jul 23, 2018 08:41 PM

    Hi Arun,

    We do not know if the exitcode 51 was returned by SAP or by the OS the system agent is hosted on.

    Windows says 51 error code is network path related (Windows cannot find the network path).

    Start with looking at the output/log of the SAP program that the AutoSys (SAP) job runs. The System Agent simply captures the exitcode returned by the program or the OS and marks the job as failure if it is non-zero, by default.

     

    Thanks,

    Chandru



  • 3.  Re: Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC

    Posted Aug 01, 2018 07:49 AM

    Thank you Chandru!



  • 4.  Re: Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC

    Posted Aug 11, 2018 10:23 PM

    Hi Arun,

    Were you able to identify the cause of Exit code 51?



  • 5.  Re: Autosys job (Job Type: SAP) failed with an Exit Code 51 and no log generated in WCC

    Posted Oct 08, 2018 05:54 AM

    Hi Arun

     

    If you have not been able to identify the cause of this exit code, please open a case at CA support and attach the following documentation:

     

    - all the files from the log and spool directories of the system agent

    - the agentparm.txt file

    - the output of cybAgent -vv

     

    Regards

    Jean Paul