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 daemon on the sending side and the Receive daemon 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 daemon waits for the connection from the sending side.
2) Starting up the Receive process
When the Receive daemon is connected to from the host on the sending side, the daemon starts a Receive process. This operation is carried out at the time of each transfer.
3) Carrying out Receive processing
The Receive process 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 process writes the result of the processing to the Receive Log file (hulrcvlog.db).
5) Starting up the Post-receive Job
The Receive process 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 process writes the job execution result in the Post-receive Job Execution Log file (hulrcvlog.db).