Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Passing procedure parameters as keyword parameters

&pagelevel(5)&pagelevel

Parameters can also be passed as keyword parameters. A keyword is the name by which the procedure parameter is declared in the DECLARE-PARAMETER command. In accordance with the rules for abbreviating keyword parameters in commands, it is also possible here for keywords to be abbreviated down to the shortest unique abbreviation.

When procedure parameters are passed as keyword parameters, they can be in any order, since the parameter names must be unique.

Parameters that are initialized in the called procedure do not need to be taken into account unless their initial value is to be overwritten.

Example

If procedure parameters were passed as keyword parameters, the procedure call in the previous example would look as follows:

/CALL-PROCEDURE PROC2,-
/PROCEDURE-PARAMETERS = (LAST-NAME = MILLER, FIRST-NAME = EDWARD,-
/STREET = 'HARPER AVENUE', TEL = 1234567)