Generational management

HULFT can manage Receive files in generations. This feature is useful when the same file is received and saved many times at irregular intervals in one day.

To manage Receive files in generations, set 'Y' for Generational Management (GENCTL) in the Receive Management Information. The Receive process creates a Receive file by adding a file extension to the file name registered in the Receive Management Information. The details of each Receive file are recorded in the Generational Management file (FileID.info).

The maximum number of generations can be set in the Receive Management Information. If the number of files exceeds this number, it starts again from 1. You can set a maximum of '9999' for No. of Generations.

Receive files managed in generations

When Receive files are managed in generations, a file extension for generational management is added to the Receive file name that is registered in the Receive Management Information. For the extension, a number starting from '. 0001' is allocated sequentially in the order that receiving is completed.

[Example]
Receive file name that is registered in the Receive Management Information:

/usr/tmp/hulft.rcv

Name of the receive file that is received first:

/usr/tmp/hulft.rcv.0001

Name of the receive file that is received second:

/usr/tmp/hulft.rcv.0002

= Remarks =
  • When generational management is enabled, the file name that is used for the environment variable '$FILENM' in the Post-receive Job should be the name with the generational management number added to the extension.

  • When generational management is enabled, specify the Receive file name within 190 bytes, because an extension will be added to the Receive file name.

Generational Management file

Information about each Receive file under generational management is stored in the Generational Management file. The Generational Management file is created with the name 'File ID.info' in the path where HULFT system files exist (HULPATH).

= Remarks =

When the Generational Management file is deleted, the management number starts from '0001' again.