3.4.6 JSMX_CLOSE
The JSMX_CLOSE API closes an open connection from the client application to the Java Service Manager.
The connection handle (JSMHDL) parameter identifies which connection is to be closed.
Parameters
Number |
Symbolic Name |
Description |
1 |
JSMHDL |
Input, character 4. The JSMX_OPEN call returns the connection handle it assigns to this connection. This handle is used on subsequent JSMX_COMMAND and other API calls to identify the connection to which the call applies. |
2 |
JSMSTS |
Output, character (variable, recommended 20). The JSM server returns the status of the operation in this field. The client application can test this field to determine whether the operation succeeded. In most cases a status of 'OK' indicates successful completion. |
3 |
JSMMSG |
Output, character (variable, recommended 512). The JSM server may return a message concerning the operation in this field - for example a completion message or an error message when the operation fails. |