Receive Process from Multiple Hosts

Data of the same type can be received from multiple hosts, and the data from multiple places can be summarized and processed after receiving. This is called the Multiple Receive in HULFT.

The flow of Receive processing from multiple hosts is explained in Figure 2.15 .

Figure 2.15 Receive Process from Multiple Hosts

1) Waiting of connection from sending side

The Receive Acknowledge job waits for the connection from the sending side.

2) Startup of Receive job

The Receive Acknowledge job starts the Receive job when connected from the sending side. The startup of Receive job is done per connection from each remote host.

3) Execution of receiving

When the Receive job is registered as Multiple Receive in the Receive Management Information, data is received in the Receive work file as per the Receive Management Information set in receiving side and file related to transfer received from the sending side. At the time of receiving from multiple hosts, Receive work files are created separately and transmission progresses alongside.

4) Accumulation of Receive data in the Receive file

The Receive job writes the data of receive work file to the Receive file. If an error occurs during the receiving to receive work file, HULFT does not write the received data up to the point to the Receive file.

5) Registration of Multiple Receive Information file

The Receive job registers information such as from which remote host the data has been received and where in the Receive file the data is saved in the Multiple Receive Information file. This information is not written when the receiving processing terminates unsuccessfully.

6) Registration of Receive Log information

After completion of receiving, the Receive job writes the results to the Receive Log File.

7) Startup of Post-receive Job

The Receive job activates the Post-receive Job registered in the Job Information according to the condition registered in the Receive Management Information. Regarding the job to be activated, HULFT activates either the job specified for successful termination of the receiving processing or the one for unsuccessful termination of the processing, depending on the transfer result.

Job is started each time receiving from each remote host is completed.

8) Registration of Job Execution Log Records

The Receive job writes the execution result of the job in the Post-receive Job Execution Log file.