7 44 1 EXEC_OS400 Parameters

LANSA Technical

7.44.1 EXEC_OS400 Parameters

COMMAND

IF_ERROR

COMMAND

Specifies the IBM i (EXEC_OS400) command string that is to be executed from within the function. The command specified must be eligible for execution via the IBM supplied command execution programs QCMDEXC.

IF_ERROR

Specifies what action is to be taken if an error occurs when the command is executed.

If the default value of *ABORT is used the function will abort with error message(s) that indicate the nature of the error.

*NEXT indicates that control should be passed to the next command.

*RETURN specifies that in a program mainline control is to be returned to the caller and in a subroutine control is to be returned to the caller routine or the program mainline.

If none of these values are used you must nominate a valid command label to which control should be passed.