Flow of the Resend Request processing

You can start resending from the host on the receiving side.

In order to start resending from the host on the receiving side, run the Resend Request program (XRRSNDRQ) on the host on the receiving side. The request to carry out resending to the remote host by running the Resend Request program (XRRSNDRQ) is called 'Resend Request' in HULFT.

This processing requires the Send program (XRSND) and the Observe program (XRACCPT) on the host on the sending side, and the Receive program (XRRCV) on the host on the receiving side to have already been run.

 

For the Resend Request processing, as well, you can transfer the file from the point where the sending was interrupted (checkpoint). This is called 'Checkpoint Resend Request' in HULFT. The Checkpoint Resend Request function reduces time as compared to transfer from the beginning when the size of the Send file is large and the transfer takes time.

If you do not specify the Checkpoint Resend Request, HULFT transfers the Send file from the beginning. Execute the Resend Request without specifying the Checkpoint Resend Request when it is necessary to carry out sending from the beginning, such as when changes have been made to the Send file after the transfer was interrupted.

The flow of the Checkpoint Resend Request is explained in Figure 2.7 .

Figure 2.7 Processing of Checkpoint Resend Request

1) Waiting for Resend Request from receiving host

The Observe program (XRACCPT) of the host on the sending side waits for the Resend Request from the host on the receiving side.

When the Resend Request is executed on the host on the receiving side, the Observe program (XRACCPT) on the host on the sending side accepts the Resend Request that the host on the receiving side executed and then runs the Send Request Acknowledge program.

In the case of the Resend Request processing, HULFT does not execute the Pre-send Job, even if the Pre-send Job is registered in the Send Management Information.

2) Order for resending file

The Send Request Acknowledge program orders the Send program (XRSND) to resend the file.

3) Writing of Observe Log record

The Send Request Acknowledge program writes the result of the Observe processing from the host on the receiving side to the Send and Receive Log file (HULFT.LOG).

4) Skip reading of Send work file or Send file

If you specify the Checkpoint Resend Request, the Send program (XRSND) determines from the information in the records in the Resend Queue the number of records and the size of the data that has already been transferred, and then skips the reading of the records in the Send work file or the Send file that have already been transferred.

= Remarks =

In the case of the Work File Transfer, the Send program (XRSND) skips the reading of the Send work file. In the case of the Direct Transfer, the Send program (XRSND) skips the reading of the Send file.

5) Carrying out of Send processing

The Send program (XRSND) transfers the data of the Send work file or the Send file to the remote host according to the information in the record in the Resend Queue.

6) Writing of Send Log record

After the Send processing ends, the Send program (XRSND) writes the Send Log record to the Send and Receive Log file (HULFT.LOG).

If the Send processing ends unsuccessfully, the Send program (XRSND) writes the information of the transfer that terminated unsuccessfully (the record in the Resend Queue) to the Send Control file (HULFT.QUEUE). HULFT gives each record in the Resend Queue a sequential number (Resend Queue List No.) to identify the transfer.

= Remarks =

HULFT will not reuse the resend queue list number that was given to a record in the Resend Queue. HULFT sets a new Resend Queue List No. every time an unsuccessful end takes place.

7) Startup of Post-send Job

The Send program (XRSND) starts the Post-send Job according to the settings that are registered in the Send Management Information. In the Send Management Information you can register both a successful job to be started when the Send processing ends successfully, and an unsuccessful job to be started when the Send processing ends unsuccessfully. HULFT starts one of the two types of jobs depending on the transfer result.

8) Writing of job execution log record

The job steps, incorporated by HULFT into the Post-send Job, will write job execution log records to the Send and Receive Log file (HULFT.LOG).

= Remarks =

If one of the following methods is used for sending, and the information of the Send processing matches the information of a record in the Resend Queue according to specified criteria, the record is removed from the Send Control file (HULFT.QUEUE):

  • Execution of the Send File

  • Acceptance of the Send Request

You can specify the criteria to delete the record in the Resend Queue with the Criteria to Delete Resend Queue (RESENDDEL) in the System Environment Settings.