Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

BEGIN-PARAMETER-DECLARATION Declare procedure parameters

&pagelevel(4)&pagelevel

Domain: PROCEDURE

Command description

The procedure parameters are declared with the DECLARE-PARAMETER command in the procedure head. If the DECLARE-PARAMETER command is to be called several times, these calls are enclosed in a command block which begins with the BEGIN-PARAMETER-DECLARATION command and ends with the END-PARAMETER-DECLARATION command.

The BEGIN-PARAMETER-DECLARATION command is also required when the command OPEN-VARIABLE-CONTAINER is to be inserted one or more times in the procedure head. This is necessary if a procedure parameter is to be initialized by a permanent variable (for further details see section “Variable containers for permanent variables” (S variables as containers )).

Format

BEGIN-PARAMETER-DECLARATION


Command return codes

Return codes will be supplied by this command only when it is used outside the procedure head. Errors in the procedure head are recognized by SDF-P during pre-analysis and result in the procedure run being aborted.

(SC2)

SC1

Maincode

Meaning


0
1
1
3
32
130

CMD0001
CMD0202
SDP0118
CMD2203
CMD0221
SDP0099

No error
Syntax error
Command in false context
Incorrect syntax file
System error (internal error)
No further address space available