Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Preanalysis

&pagelevel(5)&pagelevel

If the analysis of the first procedure line has shown that the called procedure is an S procedure, the procedure interpreter begins processing the procedure.

S procedures are processed in the following steps:

  1. If the SET-PROCEDURE-OPTIONS command is present, it is executed.(The SET-PROCEDURE-OPTIONS command can be called only as the first command of an S procedure.)

  2. Any commands in the DECLARE-PARAMETER block are executed.
    Note: multiple calls of the DECLARE-PARAMETER command must be preceded by the BEGIN-PARAMETER-DECLARATION command and must be terminated by END-PARAMETER-DECLARATION. Any OPEN-VARIABLE-CONTAINER command in the DECLARE-PARAMETER block must also be placed between these two commands.

  3. The procedure body is read in and processed:

    1. All procedure lines are read in and continuation lines are evaluated immediately, ignoring comments. The continuation character is replaced by the next line and the slash (/) at the beginning of the continuation line is deleted.

    2. Command sequences containing commands separated by semicolons (;) are divided up into individual commands.
      Exception: Command sequences in an AID command block. These commands are not processed until the AID interactive debugging aid executes the command block (for more information on the AID utility, see the “AID” manual [2]).

    3. A check is run to determine whether the block structures are syntactically correct and whether the destination tags for the GOTO, EXIT-BLOCK and CYCLE branch commands exist.