9 144 JSM_OPEN

LANSA Technical

9.144 JSM_OPEN

Þ Note: Built-In Function Rules.

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.

For use with

LANSA for i

YES

Not available for RDMLX.

Visual LANSA for Windows

YES

Not available for RDMLX.

Visual LANSA for Linux

NO

Not available for RDMLX.

 

 

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)