Remote Job Execution command
You can execute jobs of other hosts by issuing the Remote Job Execution Request. The requestee-side host of the Remote Job Execution Request executes the job specified by the host that issued the request. The job that is to be executed should be registered in the Job Information in advance. The service name is 'HULRJOB.'
You can execute jobs on the remote host by issuing the Remote Job Execution command.
Format of command
utlrjob -h hostname -j jobid [-o [filename]] [-sync [-w time]] [-v8]
Explanation of the parameters
- -h hostname
-
Host name of the host that executes the job (Mandatory)
Specify the host name as an alphanumeric character string within 68 bytes.
- -j jobid
-
Job ID of the job to be executed (Mandatory)
Specify a string of alphanumeric characters (and "_" if desired) that is within 50 bytes. This job ID should be registered in the Job Information of the remote host.
- -o filename
-
Name of the file to which HULFT outputs the job execution request result (Optional)
Specify a character string within 256 bytes.
Specify the file name with a full path. When there is no specification of the file name (when only -o is specified), the results are output to the standard output.
When you omit this parameter, the job execution results are not output. When the connection to the remote host failed, HULFT does not output the results.
- -sync
-
Synchronous execution request (Optional)
This parameter specifies synchronization with the end of a job execution by a remote host.
When you omit this parameter, the synchronization ends when HULFT issues the request.
Specify the parameter -w (Synchronous Transfer Timeout) when you set this parameter.
- -w time
-
Synchronous Transfer Timeout (seconds) (Optional)
When you specify the Synchronous Transfer, set the wait time for synchronizing the transfer with the result of processing, in the range from '10' to '259200.'
When you omit this parameter, the value that is set in Job Timeout (jobwtimeout) in the System Environment Settings file (hulenv.cnf) is applied.
To specify this parameter, you must specify the parameter "-sync".
- -v8
-
Specification of full display of the job ID in the execution request results (Optional)
Job execution request results are displayed in an output format that fully displays the job ID even if the job ID exceeds 8 bytes.
When you omit this parameter, HULFT outputs results in the format for HULFT lower than Ver.8, and only the first 8 characters of the job ID are displayed.
Note
There are some points to be noted on the Non Communication Timeout and the Remote Job Timeout when the Synchronous Transfer is specified.
For details, refer to the following:
HULFT10 for Windows Administration Manual : Settings for timeouts