Resend Request command
If HULFT could not receive the file for some reason, you can execute the Resend Request.
To run the Resend Request command, it is necessary to activate the Receive daemon of the local host and the Send and Observe daemons of the remote host in advance.
Upon the Resend Request, the file transfer resumes starting from the point (in the data) where the receiving was terminated (this feature is called Checkpoint Resend Request).
To receive data from the beginning of the file, specify the -np parameter.
Format of command
utlrecv -r {[-h hostname] [-f fileID]} [-np]
Explanation of the parameters
- -r
-
Resend Request (Mandatory)
- -h hostname
-
The name of the remote host for which you submit the Resend Request (Optional)
Specify the host name as an alphanumeric character string within 68 bytes.
- -f fileID
-
File ID for which resending is requested (Optional)
Specify a string of alphanumeric characters (and "_" if desired) that is within 50 bytes.
If omitted, all files in the Resend Queue of the specified remote host are sent.
- -np
-
When you specify this parameter, HULFT carries out resending from the beginning of the file. (Optional)
If omitted, HULFT executes the Checkpoint Resend Request.
Note
The following conditions must be fully met in order for HULFT to execute the Checkpoint Resend Request.
If one of the following conditions is not met, HULFT carries out resending from the beginning:
-
Registration Mode (TRANSMODE) in the Receive Management Information is set to 'N' (New Creation) or 'R' (Replace)
-
Error Handling (ABNORMAL) in the Receive Management Information is set to "K" (Keep)
-
Receive Mode (RCVTYPE) in the Receive Management Information is set to 'S' (Single Receive)
Remarks
-
For file transfers driven by the Resend Request, HULFT does not execute the Pre-send Jobs even if their job IDs are registered.
In addition, the Synchronous Transfer function and the Message Transmission function are not available.
However, messages that are specified when the Send File or the Send Request is executed will be expanded.
-
When you specify the parameter '-h hostname' and omit the parameter '-f fileID,' HULFT executes the Resend Request, even if the parameter -r is not specified.
The purpose of this behavior is to maintain compatibility with lower versions. Usually, specify the parameter -r.