6100 ADCCP Programming Manual
(7) STOP OPERATION
Requests and Responses
069225 Tandem Computers Incorporated 6–19
Request for X.21 The STOP OPERATION request immediately stops all line activity, aborting all
requests in progress. After receiving a STOP OPERATION request, ADCCP/X21 will
not accept any of the following requests:
(65) SENDTEXT
(66) RECEIVETEXT
(67) MODE SET
(82) CONNECT
(83) DISCONNECT
The STOP OPERATION request can have serious consequences, so you should
exercise extreme caution when using it in your application to shut down a link. See
“Shutting Down the Link” in Section 3, “ADCCP/X21 Protocol Module,” and the
CP6100 I/O Process Programming Manual for information about the appropriate way to
shut down a link.
The request buffer format for X.21 is:
Function := 7
Modifier := 0
Request ID := A unique value from 1 through 32767,
determined by the application.
Text Out := 0
Text In := 1 if you want Error Detail returned,
0 otherwise
Text None
Response for X.21 The STOP OPERATION response is the expected answer to the STOP OPERATION
request. It reports that the line is now unavailable for I/O requests.
For a list of the status codes and their definitions, see “Status Code Definitions” at the
end of this section.
The response buffer format for X.21 is:
Response := 7
Status := 0 if the request succeeded, otherwise a
code for the error that occurred
Request ID := The same as in the request
Text Out := 0
Text In := 1 if Error Detail is supplied,
0 if not
Text := Error Detail :Byte