9.124 JSMX_COMMAND

Note: Built-In Function Rules     Usage Options

This Built-In Function sends a command string to the JSM connection identified by the handle.

If an optional working list argument is specified then the fields defined in that list are available to the loaded service. If no working list argument is specified then no fields are available to the loaded service. Note that this working list does not need to have any entries.

If an optional working list return value is specified then that working list is available to the loaded service.

See also: 9.125 JSMX_OPEN and 9.123 JSMX_CLOSE.

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Handle to connection

4

4

 

 

2

U

Req

Command

1

Unlimited

 

 

3

L

Opt

List of field definitions to send/receive. If this list is not passed, no fields will be used.

 

 

 

 

 

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

 

 

3

L

Opt

Working List

 

 

 

 

 

For Notes refer to JSMX_COMMAND in the LANSA Integrator Guide.