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  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Return codes
(SC2)  | SC1  | Maincode  | Meaning/Guaranteed messages  | 
| 0 | CMD0001 | No error | |
| 1 | 0 | CMD0001 | Warning; element already declared | 
| 2 | 0 | CMD0001 | Warning; INITIAL-VALUE operand was ignored | 
| 1 | CMD0202 | Syntax error | |
| 1 | SDP0118 | Command in false context | |
| 3 | CMD2203 | Incorrect syntax file | |
| 32 | CMD0221 | System error (internal error) | |
| 64 | CMD0216 | Do not have required privilege | |
| 64 | SDP0091 | Semantic error Guaranteed messages: SDP1018  | |
| 130 | SDP0099 | No further address space available |