Previous Topic: Action=EXECUTE Class=COMMAND

Next Topic: Action=GET Class=TENTRY


Action=LOAD Class=COMMAND

Loads the command table into memory (normally during system initialization). You must perform the LOAD COMMAND function before you can execute a defined command.

This statement has the following format:

&CONTROL NOSHRVARS
-EXEC $CACALL   OPT=ACTION
                ACTION=LOAD
                CLASS=COMMAND

Input Variables

This statement has no input variables.

Return Variables

This statement contains the following return variables:

&SYSMSG

System message. Contains the error message (for return code 8).

Feedback Codes

If a return code of 8 is set, then additional information is available as one of the following feedback codes, set in &$CAFDBK:

2

No data found

6

Unable to obtain lock

8

Processing error

10

Nesting level exceeded

Example

The following statements load the command table:

&CONTROL NOSHRVARS
-EXEC $CACALL   OPT=ACTION +
                ACTION=LOAD +
                CLASS=COMMAND