z/OS MVS Programming: Writing Transaction Programs for APPC/MVS
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Sending Error Notification z/OS MVS Programming: Writing Transaction Programs for APPC/MVS SA23-1397-00 |
|
|
Figure 1. Example of Send_Error in Receive State
┌─────────┐ ┌─────────┐
│ PROGRAM │ │ PROGRAM │
│ │←───────────────────────────────→│ │
│ A │ │ B │
└─────────┘ └─────────┘
(RUNNING) (RUNNING)
(IN CONVERSATION) (IN CONVERSATION)
Call ATBSEND 1 2 Call ATBRCVW
RC=OK
.
.
Call ATBSEND 3 ──────────────────────→ 4 RC=OK
RC=OK DATA_RECEIVED=
DATA_COMPLETE
6 ←────────────────────── 5 Call ATBSERR (Send_Error)
.
Call ATBSEND 7 ───────────────────────────→ .
. .
RC= 10 ←───────────────────── 8 RC=OK
(Program_Error_Purging)
Call ATBRCVW 11 9 Call ATBSEND
.
.
.
A transaction program can send an error notification to its partner to report that an error occurred and to cause buffer data to be purged. In Figure 1, program A has already
allocated the conversation and is in Send state, with program B in
Receive state.
|
Copyright IBM Corporation 1990, 2014 |