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 | CMD0001 | No error |