Job Execution Result Notification command

HULFT can notify the remote host of the execution result of the startup job. The service name is 'HULSNDRC.'

The job execution result notification can be issued by including the Job Execution Result Notification command (hulsndrc) at the end of the startup job.

Format of command

hulsndrc [-h hostname] {[-j jobname] [-r returncode] [-m message]} 
             [-i retrytime] [-c retrycount]

Explanation of the parameters

-h hostname

Name of the host to which the notification is sent (Optional)

Specify the host name as an alphanumeric character string within 68 bytes.

When you omit this parameter for a Post-send Job or a Post-receive Job, HULFT notifies the remote host of the job execution result. You cannot omit this parameter except for the Post-send Job or a Post-receive Job.

-j jobname

Name of a job whose result is to be sent in a notification (Optional)

Specify the name in a character string within 60 bytes.

When you specify spaces or meta characters in a job name, place the entire job name within double quotation marks (").

When you omit this parameter, a blank space is sent as a notification.

-r returncode

Status code that is sent in the notification (Optional)

Specify the code in characters within 4 bytes.

When you omit this parameter, '0' is sent.

-m message

Message that is transmitted (Optional)

Specify a string within 128 bytes.

When you specify spaces or meta characters in a message, place the entire message within double quotation marks (").

When you omit this parameter, a blank space is sent as a notification.

-i retrytime

Retry interval at the time of connection failure (seconds) (Optional)

Specify a value within a range from '0' to '9999.'

When you omit this parameter, the retry interval becomes '0' seconds.

-c retrycount

Retry count at the time of connection failure (Optional)

Specify a value within a range from '0' to '9999.'

When you omit this parameter, the retry is not carried out.

Note

You can omit the parameters -j, -r, and -m, but not at the same time. At least one parameter must be specified.