LOADSCRIPT
The LOADSCRIPT command loads an aXes terminal operation script into the service for use in subsequent EXECUTE commands. The script replaces any previously loaded. Refer to 5.41.3 AxesTerminalService Scripts for more information about specifying and using aXes terminal operation scripts.
Optional
LOADSCRIPT ------ SCRIPT ---------- *LIST -----------------------|
If the command specifies SCRIPT(*LIST), you must provide a list definition that contains the aXes terminal operation script. Refer to 5.41.3 AxesTerminalService Scripts for more information about specifying and using aXes terminal operation scripts.
Keywords
SCRIPT |
This keyword specifies how the aXes terminal operation script is provided. Presently only the following value is supported: *LIST : the script is provided in a working list with this command. If not specified, the service assumes SCRIPT(*LIST). |
Examples
RDML Example:
CHANGE FIELD(#JSMCMD) TO('LOADSCRIPT SCRIPT(*LIST)'
USE BUILTIN(JSM_COMMAND) WITH_ARGS(#JSMCMD) TO_GET(#JSMSTS #JSMMSG #MYSCRIPT)
RDMLX Example:
#jsmcommand := 'LOADSCRIPT SCRIPT(*LIST)'
use builtin(jsmx_command) with_args(#jsmhandle #jsmcommand) to_get(#jsmstatus #jsmmessage #myscript)