Job Execution Result Notification service settings
If HULFT receives Job Execution Result Notification, change the Observe Definition file in accordance with the environment that the application uses.
Description in the Observe Definition file
HULSNDRC hulsndrc { -l list | -f fifo | -s }
Parameter explanation
- -l list
-
The file name to output the message is specified.
Specify a string of alphanumeric characters within 128 bytes. The message from the remote host will be output to the file. 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 message is specified.
Specify a string of alphanumeric characters within 128 bytes. The message from the remote side will be output in the fifo format file. 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. After the message is output to the fifo file, processing stops until the message is read.
- -s
-
Specify when the message will be output to syslog.
The message from the remote host 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.'
Message output contents
hulsndrc :HOSTNAME=Host Name JOBNAME=Job Name DATE=Completion Date of JOB TIME=Completion Time of JOB RC=Status code MESSAGE=Message DN=Domain name
<Message explanation>
- HOSTNAME:
-
Host Name that issues the Job Execution Result Notification (8 bytes)
- JOBNAME:
-
Job name (60 bytes)
- DATE:
-
Job end date
- TIME:
-
Job end time (hh:mm:ss)
- RC:
-
Status code (4 bytes)
- MESSAGE:
-
Message (128 bytes)
- DN:
-
Domain name (68 bytes)
-
For the host name, the first 8 bytes of the domain name are displayed.
-
The job end date is displayed in the date format specified for Date Format (datefmt) in the System Environment Settings.
-
The record length of the message is 584 bytes.