Signaling an Error
When you sense that there is an error in the communications, whether you are in Send or Receive state, you can issue SENDERR. This signals your communications partner and causes a break in the normal send/receive sequence.
If you are in Receive state, and issue SENDERR:
- The error notice goes to your communications partner.
- Your virtual machine enters Send state when the SENDERR completes.
If you are in Send state, and issue SENDERR:
- The error notice goes to your communications partner.
- Your virtual machine remains in Send state.
When sending an error notice to your communications partner, you can also send log data. Log data contains information that describes the error in detail, and it can help your partner diagnose the error. For log data to get to your partner, however, your partner must have indicated that it will accept log data. This can be done using the LOGDATA=YES parameter for IUCV ACCEPT. Note that you can also send log data on an APPCVM SEVER.