9.121 JSM_COMMAND

Note: Built-In Function Rules     Usage Options

Sends a command string to the currently open JSM server connection.

If an optional working list argument is supplied then the function fields and this working list contents are available to the loaded service.

Function field names prefixed with the letters JSM will not be sent, so it is recommended to use BIF argument names such as #JSMCMD, #JSMSTS and #JSMMSG.

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Command

1

255

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Status

1

20

 

 

2

A

Req

Message

1

255

 

 

3

L

Opt

Working List

This list must not have more than 9999 entries.

0

0

 

 

 

 Example

USE BUILTIN(JSM_COMMAND) WITH_ARGS(#JSMCMD) TO_GET(#JSMSTS # JSMMSG #WRKLST)