9 143 JSM_COMMAND

LANSA Technical

9.143 JSM_COMMAND

Þ Note: Built-In Function Rules.

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.

For use with

LANSA for i

YES

Not available for RDMLX.

Visual LANSA for Windows

YES

Not available for RDMLX.

Visual LANSA for Linux

NO

Not available for RDMLX.

 

 

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)