9.147 JSMX_OPEN
Þ Note: Built-In Function Rules.
This Built-In Function opens a connection to the JSM server, which starts a service thread to handle commands to be sent by the JSMX_COMMAND BIF.
JSMX_OPEN returns a handle, which identifies the JSM connection.
If no server argument is supplied, then the JSM server host is obtained by reading the JSMCLTDTA data area.
See also: 9.146 JSMX_COMMAND and 9.145 JSMX_CLOSE.
For use with
|
Arguments
|
Return Values
|
Examples
Example 1: Open a connection using server in JSMCLTDTA data area.
USE BUILTIN(JSMX_OPEN) TO_GET(#JSMSTS #JSMMSG #JSMHDNL)
Example 2: Open a connection specifying a server.
USE BUILTIN(JSMX_OPEN) WITH_ARGS(#JSMSRV) TO_GET(#JSMSTS #JSMMSG #JSMHDNL)