9.122 JSM_OPEN
Opens a connection to the JSM server, which starts a service thread to handle commands to be sent by the JSM_COMMAND BIF.
If no server argument is supplied, then the JSM server host is obtained by reading the JSMCLTDTA data area.
Arguments
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Opt | Server | 1 | 50 |
Return Values
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Status | 1 | 20 | ||
2 | A | Req | Message | 1 | 255 |
Example
USE BUILTIN(JSM_OPEN) TO_GET(#JSMSTS #JSMMSG)
USE BUILTIN(JSM_OPEN) WITH_ARGS(#JSMSRV) TO_GET(#JSMSTS #JSMMSG)