9 145 JSMX_CLOSE

LANSA Technical

9.145 JSMX_CLOSE

Þ Note: Built-In Function Rules.

This Built-In Function closes the JSM connection identified by the handle.

See also: 9.147 JSMX_OPEN and 9.146 JSMX_COMMAND

For use with

LANSA for i

YES

Only available for RDMLX.

Visual LANSA for Windows

YES

Only available for RDMLX.

Visual LANSA for Linux

YES

Only available for RDMLX.

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Handle to connection

4

4

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

U

Req

Status

1

20

 

 

2

U

Req

Message

1

Unlimited

 

 

 

 

Example

Close a JSM connection.

USE BUILTIN(JSMX_CLOSE) WITH_ARGS(#JSMHNDL) TO_GET(#JSMSTS #JSMMSG)