Receive Completion Notification

In the Receive process, you can select from two options for the timing to send notification of the completion of receiving to the sending side—'Receive Completion' or 'Successful Job Completion.' The selected option is registered in the Receive Management Information.

When the Receive processing ends unsuccessfully, notification of completion is sent at the time of unsuccessful end, irrespective of the selection.

(1) Receive Completion

When 'Receive Completion' is selected for Notification (JOBWAIT), notification of completion of receiving is sent to the sending side immediately after all data is received and before execution of the Post-receive Job. When the subsequent job is specified, the sending side is notified irrespective of the status of the subsequent job.

Figure 2.17 Notification Timing (Receive Completion)

(2) Successful Job Completion

When 'Successful Job Completion' is selected for Notification, notification of receive completion is not sent to the sending side until the end of the relevant job, if Successful Job ID (JOBID) is specified in the Receive Management Information. The sending side is notified of the unsuccessful end when the job ends unsuccessfully. Notification of receive completion is sent to the sending side when the job operating time exceeds the value of Job Timeout (jobwtimeout) of the System Environment Settings.

Figure 2.18 Notification Timing (Successful Job Completion)