Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

DECLARE-ELEMENT Declare structure element

Structure elements can be simple or complex variables (arrays, structures, lists).
Variable attributes which cannot be defined in the DECLARE-ELEMENT command are taken from the superordinate structure (e.g. the SCOPE attribute of BEGIN-STRUCTURE or DECLARE-VARIABLE).

If the structure element is a complex variable, its elements must be initialized individually. Complex variables cannot be initialized in their entirety. This command can also be used to declare elements of dynamic structures.

DECLARE-ELEMENT

NAME = list-poss(2000): <composed-name 1..255>(...)


<composed-name 1..255>(...)




INITIAL-VALUE = *NONE / <text 0..1800 with-low expr>




,TYPE = *ANY / *STRING / *INTEGER / *BOOLEAN / *STRUCTURE(...)





*STRUCTURE(...)







DEFINITION = *DYNAMIC / *BY-SYSCMD / <structured-name 1..20>

,MULTIPLE-ELEMENTS = *NO / *ARRAY(...) / *LIST(...)


*ARRAY(...)




LOWER-BOUND = 0 / *NONE / <integer -2147483648..2147483647>




,UPPER-BOUND = *NONE / <integer -2147483648..2147483647>


*LIST(...)




LIMIT = *NONE / <integer 1..2147483647>

Return codes

(SC2)

SC1

Maincode

Meaning/Guaranteed messages


0CMD0001No error
10CMD0001Warning; element already declared
20CMD0001Warning; INITIAL-VALUE operand was ignored

1CMD0202Syntax error

1SDP0118Command in false context

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64CMD0216Do not have required privilege

64SDP0091

Semantic error

Guaranteed messages: SDP1018


130SDP0099No further address space available