Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Declaring S variables

&pagelevel(6)&pagelevel

Before an S variable stream is assigned to an S variable, it must be declared. This is done by using the DECLARE-VARIABLE command to declare a compound S variable of type STRUCTURE, with the structure being defined as an element of a list. The name of this S variable is freely selectable within the terms of the SDF-P naming conventions. The defined structure should be dynamically extensible (DEFINITION=*DYNAMIC is the default setting).

/DECLARE-VARIABLE VAR-NAME=OUT(TYPE=*STRUCTURE),MULTIPLE-ELEMENTS=*LIST

Note

The S variable name declared here is OUT. In the tables of this manual, which contain the S variables for each SHOW command, this S variable name replaces the pseudo variable name "var".

Example:

The following S variable is described in the S variable table of a command: var(*LIST).CAT-ID
With /SHOW-VARIABLE OUT  the variable   OUT(*LIST).CAT-ID  is output. 

For further information on the DECLARE-VARIABLE command refer to the “SDF-P” manual [34].