Resend File utility (only on HULFT-HUB Server for UNIX/Linux-ENT)
Issues Resend File to a client.
Usage
utlhubreqsend -h hostname[:servicename] -r [hostname] [-f fileid] [-file filename] [-procno procno] [-np] [-notify u]
Explanation of parameters
- -h hostname[:servicename]
-
Sending Side Client (Mandatory)
Specifies the host name and the service name of the sending client.
If you specify a host for which no service name is set, specify only a host name, and do not specify a service name that includes a colon (:).
= Remarks =If the service name is omitted, it will not be possible to make more than one host with the same host name a target.
- -r [hostname]
-
Resend File (Mandatory)
-r must be specified if Resend File is issued.
If hostname is specified, the files in the Resend Queue of the sending client whose receiving host matches hostname are targeted. If omitted, files in Resend Queue destined for all the hosts are targeted.
- [-f fileid]
-
File ID of the file to be resent (Optional)
Specify the File ID of the file to be resent.
If specified, the files in Resend Queue of the sending client whose File ID matches fileid are targeted. If omitted, the files in Resend Queue with any File ID are targeted.
NoteWhen the sending side client uses Ver.8.4 or later, if the user specifies "_INSTANT_TRANSFER_" as the file ID, an error occurs on the sending side client. In HULFT Ver.8.4 and later, "_INSTANT_TRANSFER_" is the file ID that HULFT specifies automatically for Instant Transfer. The user cannot specify this file ID.
- [-file filename]
-
File name of the file to be resent (Optional)
Specify the name of the file to be resent.
If specified, the files in Resend Queue of the sending client whose file name matches filename are targeted. If omitted, files in Resend Queue with any file name are targeted.
This is not a parameter to dynamically specify the file to resend.
- [-procno procno]
-
Resend Queue List No. (Optional)
Specifies Resend Queue List No.
If specified, the files in Resend Queue of the sending client whose Resend Queue List No. matches procno are targeted. If omitted, all Resend Queue List No. values are targeted.
- [-np]
-
Resend from the beginning of the file (Optional)
If specified, the utility requests that a file is resent from the beginning of the file.
If omitted, the utility requests that Checkpoint Resend File is performed.
NoteIf the Transfer definition corresponding to the Resend Queue satisfies the following conditions a and b, Checkpoint Resend File cannot be performed, and the file is resent from the beginning of the file even when -np is not specified.
-
a. Accumulation Condition is one of Accumulate Only When Unable to Transfer, Transfer and Accumulate Concurrently, Deliver after Accumulation, or Accumulate Only
-
b. Transfer type is HUB Multicasting
= Remarks =For details about Checkpoint Resend File, see the Administration Manual of the client.
-
- [-notify u]
-
Notify HULFT of User ID (Optional)
If specified, the User ID is sent to HULFT.
Status code
- 0:
-
The utility was executed successfully.
- 10:
-
The specified options are incorrect.
- 12:
-
Failed to allocate memory.
- 13:
-
A system error occurred.
- 100:
-
The relevant Registered Client does not exist.
- 101 or above:
-
An SQL error occurred.
Notes on using the utilities
For details about the operation environment for using the utilities, see Notes on execution of utilities (commands).