AutoSys Workload Automation

 View Only
  • 1.  JIL update changes job status ?

    Posted Oct 06, 2015 06:47 AM



    I am trying to update JIL's in bulk and would like to know if the job status changes if the update is perfomed.

    i.e - previously ON_ICE/NO_EXEC jobs once updated become INACTIVE ?

  • 2.  Re: JIL update changes job status ?

    Posted Oct 06, 2015 08:14 AM

    if you are using update_job:

    you will be fine.

    if you are deleting and inserting they will be set to inactive.

    as always.


    Steve C.

  • 3.  Re: JIL update changes job status ?
    Best Answer

    Posted Oct 06, 2015 11:37 AM

    As a note, AE 11.3.6 SP1 provides the ability to set the job status during job insert ONLY through the use of the 'status' job attribute.


    NOTE: The status is reflected through autorep however, the 'status' job attribute is not reflected in the jil.  Below is a simple example:


    -bash-4.1$ autorep -J set_status -d


    Job Name                                                         Last Start           Last End             ST Run/Ntry Pri/Xit

    ________________________________________________________________ ____________________ ____________________ __ ________ _______

    set_status                                                       -----                -----                          NE 0/0          



    insert_job: set_statusjob_type: cmd

    machine: itwael2

    owner: jcondi

    max_run_alarm: 0

    alarm_if_fail: y

    send_notification: n

    std_out_file: /tmp/$AUTO_JOB_NAME.out

    std_err_file: /tmp/$AUTO_JOB_NAME.err

    command: /directory/