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

When a TP encounters an error in its processing or cannot grant a requested confirmation, the TP can call the Send_Error service to notify its partner. A TP can call Send_Error from Send or Receive state. The partner receives notice of the error by return code on its next call to APPC/MVS.

If the TP that detects the error is in Send-pending state (has just received data and send control on the same call), the TP needs to specify where it found the error: in data that it received from the partner or in data it was preparing to send. To do so, specify a value of receive_error or send_error in the error_direction parameter of the Send_Error service.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014