Remote Job Execution service settings
If HULFT acknowledges the Remote Job Execution, change the Observe Definition file in accordance with the environment that the application uses.
Description in the Observe Definition file
HULRJOB hulrjob {-l list | -f fifo | -s} [-v8]
Parameter explanation
- -l list
-
The file name to output the job execution result is specified.
Specify a string of alphanumeric characters within 128 bytes. Specify the file name as a full path string. If the file name is not specified (only [-l]), '/dev/console' is set as the default value.
- -f fifo
-
The fifo file name to output the job execution result is specified.
Specify a string of alphanumeric characters within 128 bytes. Specify the fifo file name as a full path string. If the fifo file name is not specified (only [-f]), 'msglog' is set as the default value and will be output in the current directory from when the Observe daemon is executed. When the message is output to the fifo file, processing stops until the message is read.
- -s
-
Specify when the job execution result will be output to syslog.
Refer to the system's manual for more details on the setting and syslog. The message label of syslog becomes 'LOG_INFO.'
- -v8
-
Specify to display the full Job ID and the full Job Name. (Optional)
The job execution request result is displayed with the full Job ID and the full Job Name.
If omitted, the first eight characters of the Job ID and the first 60 characters of the Job Name are displayed.
Job result output contents (when [-v8] is not specified)
JOBID=Job ID HOST=Host name DATE=Job Start Date STIME=Job Start Time ETIME=Job End Time RC=0000 JOB=Job
Output example
JOBID=JOB01 HOST=xs3475 DATE=2014/12/21 STIME=21:50:28 ETIME=21:50:33 RC=0000 JOB=/hulft/job01.sh DATE=2014/12/21 STIME=21:50:33 ETIME=21:52:45 RC=0000 JOB=/hulft/job02.sh DATE=2014/12/21 STIME=21:52:45 ETIME=21:53:37 RC=0000 JOB=/hulft/job03.sh
When two or more jobs are registered in the Job ID, HULFT repeats the descriptions the number of times that the application executed the jobs and outputs them as execution results.
Message explanation
- JOBID:
-
Job ID (8 bytes)
- HOST:
-
Request issue host name
- DATE:
-
Job start date
- STIME:
-
Job start time (hh:mm:ss)
- ETIME:
-
Job end time (hh:mm:ss)
- RC:
-
Job status code (4 bytes)
- JOB:
-
Job execution (60 bytes)
The job start date is displayed in the date format specified for Date Format (datefmt) in the System Environment Settings.
Job result output contents (when [-v8] is specified)
JOBID=Job ID HOST=Host name DATE=Job Start Date STIME=Job Start Time ETIME=Job End Time RC=0000 JOB=Job
Output example
JOBID=JOB012345678901234567890123456789 HOST=HOST01.hulft.co.jp DATE=2014/12/21 STIME=21:50:28 ETIME=21:50:33 RC=0000 JOB=/hulft/job01.sh DATE=2014/12/21 STIME=21:50:33 ETIME=21:52:45 RC=0000 JOB=/hulft/job02.sh DATE=2014/12/21 STIME=21:52:45 ETIME=21:53:37 RC=0000 JOB=/hulft/job03.sh
When two or more jobs are registered in the Job ID, HULFT repeats the descriptions the number of times that the application executed the jobs and outputs them as execution results.
Message explanation
- JOBID:
-
Job ID (50 bytes)
- HOST:
-
Request issue host name
- DATE:
-
Job start date
- STIME:
-
Job start time (hh:mm:ss)
- ETIME:
-
Job end time (hh:mm:ss)
- RC:
-
Job status code (4 bytes)
- JOB:
-
Job execution (200 bytes)
The job start date is displayed in the date format specified for Date Format (datefmt) in the System Environment Settings.