7 45 1 EXECUTE Parameters

LANSA Technical

7.45.1 EXECUTE Parameters

SUBROUTINE

WITH_PARMS

SUBROUTINE

Specifies the name of the subroutine that is to be executed. The subroutine named in this parameter must be defined elsewhere in the function with a SUBROUTINE command.

WITH_PARMS

Optionally defines a list of parameters that are to be passed to the subroutine. An expandable group expression is allowed in this parameter.

When executing a subroutine, the parameters specified in the WITH_PARMS parameter of the EXECUTE command must exactly match in number and type the parameters defined in the PARMS parameter of the associated SUBROUTINE command.