ADELIA |
|
|
|
|
(I/B) |
|
|
|
|
Warning: This instruction is not compatible with the C generator.
Section for use
All
Syntax
EXECUTE_CMD_38 AlphaVarId
Description
This instruction enables the execution of a System 38 command, which is specified in the variable AlphaVarId after the instruction; see the IBM manual "Control Language Programmer's Guide" for more details on the use of the QCAEXEC program.
Important note: The variable to be used in the data environment of the model must be defined.
The variable cannot exceed 9999 characters.
Important note: Indicator 90 can be tested after the instruction to verify that the AS/400 38 command executed successfully. If *IN90 = 1, an error occurred when executing the command; otherwise (*IN90 = 0) the command call was processed correctly.
Example
W_CMD_38 = 'RPLLIBL (LIB1 LIB2 LIB3 QTEMP)'
EXECUTE_CMD_38 W_CMD_38
See also the list of 4GL instructions by topic