3.2.2 JSM_COMMAND

The JSM_COMMAND Built-In Function is used to load and unload services and execute commands supported by the service. The JSM_COMMAND can only be executed once a JSM_OPEN has completed successfully.

Syntax:

Arguments

No

Type

Required
Optional

Description

Min
Length

Max
Length

Min
Decimal

Max
Decimal

1

A

Required

Command

1

256

 

 

 

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

 

 

3

L

Optional

Working List

 

 

 

 

 

A service is loaded before commands to the service are executed. A service is unloaded once you are finished using it. Only one service can be loaded at a time. Refer to 3.5 Command.

The JSM_COMMAND has a number of:

RDML Reserved Commands

RDML Reserved Keywords

RDML Reserved Field Names

For command services details, refer to Java Service Manager Services.