Flow of receiving
The processing entity that runs on the receiving-side host for creating target files (Receive files) based on data received from the sending-side host is called 'receiving.'
This section explains the flow of receiving for one remote host (Single Receive). The Receive processing for multiple remote hosts is described in Receiving from multiple hosts.
This processing is based on the assumption that both the Send process on the sending side and the Receive process on the receiving side have already been started.
The flow of receiving is illustrated in Figure 2.12 .
1) Waiting for connection from the sending side
The Receive Acknowledge thread waits for the connection from the sending side.
2) Creating the Receive thread
When the Receive Acknowledge thread is connected to from the host on the sending side, the thread creates a Receive thread. The Receive Acknowledge thread carries out this operation for each transfer.
3) Carrying out Receive processing
The Receive thread receives the data according to the file information related to the transfer received from the sending side and the Receive Management Information set on the receiving side. After Code Conversion and/or decompression, the received data is written into a Receive file.
4) Writing the result to the Receive Log file
After the receiving is complete, the Receive thread writes the result of the processing to the Receive Log file.
5) Starting up the Post-receive Job
The Receive thread activates a 'Post-receive Job' that is registered in the Job Information according to the condition that is registered in the Receive Management Information. HULFT activates either the job that is specified for the successful end of the receiving or the one for the unsuccessful end of the receiving, depending on the transfer result.
6) Writing the result to the Post-receive Job Execution Log file
The Receive thread writes the job execution result in the Post-receive Job Execution Log file.
7) Triggering an email
The Receive thread triggers to send an email according to the settings that are registered in the Mail Interface Information.