gtps2m4l | ACF/SNA Data Communications Reference |
Every SNA command sent by the TPF system has a corresponding response handler that performs sense error handling internally or passes control to the SSCP negative response handler.
The response handler handles a negative response if it is to be treated as a positive response. Generally a negative response to the last command to flow during session deactivation is treated as positive because, whether the response is positive or negative, everything should be cleaned up at this time. Examples of commands that can be the last commands to flow are CDSESSEND, CDTERM, DACTCDRM, DACTPU and UNBIND.
The actions that can be taken by the negative response handler are:
If the session is bound or is starting up, the necessary commands are issued to take it down. Control blocks are then cleaned up.
A 511 SNAPC dump is taken if the sense handling table (CSD9) indicates a dump should be taken. The message accompanying the SNAPC gives the sense code, the command, and whether it was a session failure or session activation failure.
An operator message is displayed if the command that failed was part of session initiation due to a ZNETW ACT command. Otherwise no message is displayed. The message that is displayed gives the sense code or 'TIMED OUT', and the command that caused the session activation failure.
No action is taken. This is generally used for sense indicating contention.
If the command has already been re-sent once, then the action is CLNUP. Otherwise, the command is resent.
This action indicates that the TPF system should wait for a response to the original transmission because the resend of the command resulted in a negative response indicating that the first transmission is being processed.
If there is no session, the action is CLNUP. Otherwise session resynchronization is scheduled.
Table 26 shows the action taken based on the sense code. The
default action for any sense code not listed in this table is CLNUP, a
message, and the 511 SNAPC dump.
Table 26. Sense Codes and Actions
Sense | Command | Action | Dump |
---|---|---|---|
0801 | ANY | CLNUP | NO |
0805 | ACTCDRM | EXIT | NO |
ANY | CLNUP | NO | |
0806 | ANY | CLNUP | NO |
0808 | ACTCDRM | CLNUP | YES |
0809 | ANY | CLNUP | YES |
080D | CDINIT | EXIT | NO |
ACTCDRM | EXIT | NO | |
080E | ANY | CLNUP | NO |
0812 | ANY | RESND | NO |
0815 | ANY | CLNUP | YES |
0817 | ANY | CLNUP | NO |
081E | ANY | CLNUP | YES |
0821 | ANY | CLNUP | YES |
0822 | ANY | CLNUP | NO |
0831 | BIND | CLNUP | NO |
CHASE | EXIT | NO | |
0832 | ANY | CLNUP | YES |
0833 | ANY | CLNUP | YES |
0835 | ANY | CLNUP | YES |
0836 | CDINIT | CLNUP | YES |
0839 | ANY | CLNUP | NO |
083B | ANY | CLNUP | YES |
0841 | CDINIT | CLNUP | YES |
084B | CDINIT | CLNUP | NO |
0852 | BIND | CLNUP | YES |
0857 | BIND | CLNUP | NO |
CDINIT | CLNUP | NO | |
0858 | ACTCDRM | RESND | NO |
0877 | BIND | CLNUP | YES |
087D | CDINIT | CLNUP | NO |
0881 | ACTCDRM | CLNUP | NO |
088C | ANY | CLNUP | YES |
0893 | BIND | RESND | NO |
0894 | BIND | CLNUP | YES |
0895 | ANY | CLNUP | YES |
0896 | ANY | CLNUP | YES |
0897 | ANY | CLNUP | YES |
1002 | ANY | CLNUP | YES |
1003 | ANY | CLNUP | YES |
1007 | ANY | CLNUP | YES |
2005 | ANY | CLNUP | YES |
2007 | ANY | CLNUP | YES |
8002 | ANY | CLNUP | NO |
8003 | BIND | CLNUP | NO |
8004 | BIND | CLNUP | YES |
8005 | ANY | CLNUP | NO |
8006 | ANY | CLNUP | YES |
8007 | ANY | CLNUP | YES |
8008 | BIND | CLNUP | NO |
8009 | ANY | CLNUP | NO |
800C | ANY | CLNUP | YES |
800D | ANY | RESND | NO |
8011 | ANY | CLNUP | NO |
8013 | ANY | CLNUP | NO |