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_status | job_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/filename.sh