Dynamic specification

It is necessary to set management information in HULFT before a file transfer. However, the settings for management information can be changed dynamically.

Because HULFT can dynamically change the name of a Send file and/or sending destination, you can use one file ID for multiple transfers for which the name of Send file and/or sending destination changes for each transfer.

Moreover, it is possible to make the Receive file name identical to the Send file name by setting an environment variable in the Receive Management Information.

Dynamic specification in sending

Transfer Group ID (GRPID) and File Name (FILENAME) in the Send Management Information can be changed dynamically at the time of issuing Send File. The content to be changed must be specified as parameters of the Send File command (utlsend.exe).

When issuing the Send File command, you can dynamically specify host names. Dynamic specification of host names disables Transfer Group ID in the Send Management Information.

To perform dynamic specification at the time of sending, specify 'Enable Dynamic Specification' for Dynamic Parameter Specification (dynparam) in the System Environment Settings. For details on the System Environment Settings, refer to System Environment Settings.

Dynamic specification in receiving

When you specify '$SNDFILE' for File Name (FILENAME) in the Receive Management Information, the value of the field will be changed to the Send file name.

When the host types are both the same on the sending side and the receiving side, it is possible to make the 'path name ($SNDPATH)' the same as the sending side.

Note
  • When you use '$SNDPATH,' specify '$SNDFILE' at the same time. It is not possible to specify only '$SNDPATH.'

  • When you use '$SNDFILE,' you can use '$SNDPATH$SNDFILE' or only '$SNDFILE.'

  • You cannot concatenate a character string after '$SNDFILE.'

  • In the case where either of following conditions is satisfied, the name of the Receive file that exceeds 200 bytes causes an error:

    • '$SNDFILE' alone is specified.

    • Both '$SNDPATH' and '$SNDFILE' are specified.

  • To use double-byte characters in character strings that you specify for '$SNDPATH' or '$SNDFILE,' you must satisfy both of the following conditions:

    • Both the host on the sending side and the host on the receiving side are Windows

    • The system locale matches between the host on the sending side and the host on the receiving side

    If any of the conditions is not met, messages may appear incorrectly or the transfer may end unsuccessfully.