Skip to main content

6. IDENTIFY

This operation is used to identify a local socket by its completion code variable. The operation is valid at any time, and is always completed immediately. Since it is always successful, there are no completion codes for the operation, and the contents of the completion code variable are not changed.

The key sequence is:

ID Q...

where

  • Q is the completion code variable associated with the local socket.

The response is a display of Q, followed by 'IS UNDEFINED' if the socket is in the closed state, or the socket number associated with it if it is not closed. After ID has been pushed once, it need not be pushed again for subsequent occurrences of Q.