3 1 3 JSM_CLOSE

LANSA Integrator

3.1.3 JSM_CLOSE

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

The SERVICE_UNLOAD does not have to be executed if a JSM_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

 

  

Return Values

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

A

Required

Status

20

20

 

 

2

A

Required

Message

1

256