Resend File command
If processing of sending is interrupted due to a problem during the Send processing, the information about the file for which the transfer ended unsuccessfully is written to the Resent Queue file.
Run the Resend File command, specifying the file that is listed in the Resend Queue file.
Upon the Resend File request, the file transfer usually resumes starting from the point (in the data) where the error occurred (this feature is called Checkpoint Resend File).
You cannot resend the file that you attempted to send using instant transfer.
Format of command
utlsend -r [hostname] [-f fileid] [-file filename] [-np]
Explanation of the parameters
- -r hostname
-
Resend File (Mandatory)
When you specify the host name, HULFT executes the Resend File with the specified host name as the target.
When you specify only -r, all the host names will become the target of the Resend File.
The host name must be specified as an alphanumeric character string within 68 bytes.
- -f fileid
-
File ID of the file to resend (Optional)
Specify a string of alphanumeric characters (and "_" if desired) that is within 50 bytes.
If omitted, all the file IDs become the target of the Resend File.
- -file filename
-
File name of the file to resend (Optional)
Specify the file name of a file that has already been placed in the Resend Queue in characters within 200 bytes.
You cannot dynamically specify the file to resend by using this parameter.
If you omit this parameter, all the files that correspond to the host name or the file ID specified by the parameters will be targeted.
- -np
-
Carry out resending from the beginning of the file (Optional)
If you omit this parameter, HULFT executes the Checkpoint Resend File.
Note
The following conditions must be fully met in order for HULFT to execute the Checkpoint Resend File.
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
When you execute the Resend File, HULFT does not execute the Pre-send Jobs even if job IDs have been registered.
In addition, the Synchronous Transfer function and the Message Transmission function are not available.
However, messages and file names that are specified dynamically when the Send File or Send Request was issued will be expanded.