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 process, the Send process, and the Observe process of the source host in advance.

Upon the Resend Request, the file transfer usually 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 parameter -np.

Format of command

utlrecv -h hostname -r [-f fileid] [-np]

Explanation of the parameters

-h hostname

Name of the remote host that is requested to resend (Mandatory)

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

-r

Resend Request (Mandatory)

-f fileid

File ID of the file for which resend 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 and file names that are specified dynamically when the Send File or the Send Request was 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.