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

&pagelevel(3)&pagelevel

Initiate parameter declarations

Component:

SDF-P-BASYS

Functional area:

Procedures

Domain:

PROCEDURE                                                                                                  

Privileges:

STD-PROCESSING
OPERATING
HARDWARE-MAINTENANCE
SECURITY-ADMINISTRATION
SAT-FILE-MANAGEMENT
SAT-FILE-EVALUATION

Function

The BEGIN-PARAMETER-DECLARATION command is an SDF-P control flow command. It is part of the header of an S procedure, and it identifies the beginning of the declaration section in this header. The procedure parameters are declared in the declaration section. There may be a SET-PROCEDURE-OPTIONS command before the declaration section. The END-PARAMETER-DECLARATION command terminates both the declaration section and the procedure header. Within the declaration section, only DECLARE-PARAMETER commands are permitted. If only one DECLARE-PARAMETER command is used, the BEGIN-PARAMETER-DECLARATION and END-PARAMETER-DECLARATION commands can be omitted. The declaration section is redundant if no procedure parameters are declared. The BEGIN-PARAMETER-DECLARATION command is also required when one or more OPERAND-VARIABLE-CONTAINER commands need to be inserted in the procedure header to initialize procedure parameters with permanent variables. Procedure parameters are stored as S variables and can therefore be queried and modified using SDF-P facilities.

Format

BEGIN-PARAMETER-DECLARATION                                                                                                           

    

Return codes

The BEGIN-PARAMETER-DECLARATION command can be used within the procedure header of an S procedure. SDF-P detects errors in the procedure head during pre-analysis and terminates the procedure call. The command return codes can only occur if the command is used outside the procedure header.

(SC2)

SC1

Maincode

Meaning


0

CMD0001

No errors


1

CMD0202

Syntax error


1

SDP0118

Command in false context


3

CMD2203

Incorrect syntax file


32

CMD0221

System error (internal error)


130

SDP0099

No further address space available