STRUCTURE
- window
- An LSM Information window. Select by a Window Specification, or by placing the cursor in the window. If omitted and the cursor is not in a LSM Information window, uses or opens the first LSM Information window.
- variable-name
- The variable name. Each variable is:
- The major component of a structure, in which case variables within the entire structure are visible.
- A component (member) at an intermediate level within a structure, in which case only variables within that portion of the of the structure are visible.
Use dot-qualification to uniquely identify structure components with ambiguous names.
Simple structure components are defined by name only. You can define components within a based structure by name only, in which case the declared basing is used by IDF, or you can specify an explicit locating expression.
See Variable expressions for a complete description of the syntax of the expressions used as STRUCTURE variable name arguments.
- embedded arrays within structures
- arrays of structures
The STRUCTURE display is in the form of a list of the component variables of the structure, in order of definition.
- A STRUCTURE command without arguments is issued
- A UNION command without arguments is issued
- The window is closed using a CLOSE command.
- Another IDF Language command such as VARIABLE, ARRAY, CALLERS, PLOCATES, LANGUAGE STATUS, or MAP is issued. These commands update the LSM Information window with new information
- The target program completes execution
- Target program execution progresses beyond the structure's defined scope
You can change the displayed data by overtyping it.
In EBCDIC display mode, character data equal to X'FF' or below X'40' is displayed as a period character.
In ASCII display mode, character data which does not correspond to a displayable EBCDIC character is displayed as a period character.
If a based structure was respecified, the current basing specification is used.
Examples
Str struct1
Str addr(x'20000')->struct1
Str addr(12(R2))->ptr->struct1
Str ptr->ptr2->struct3
Str ptr(3)->ptr->struct1
Str struct1;struct2
Str struct1 ;ptr->struct1
Str struct1 ; struct4