3.3.4 JSMX_CLOSE

The JSMX_CLOSE Built-In Function is used to end the connection to the Java Service Manager. It is good programming practice to use a JSMX_CLOSE before ending your function.

The SERVICE_UNLOAD does not have to be executed if a JSMX_CLOSE is being executed.

If your function is using JSMDirect, do not use the SERVICE_UNLOAD command just issue the JSM_CLOSE to send the last command byte array response back to the HTTP client.

Syntax:

Arguments

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

A

Required

Connection Handle

4

4

 

 

 

Return Values

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

U

Required

Status

1

20

 

 

2

U

Required

Message

1

Unlimited