Getting information about data elements
Use the Data Elements view to display information about the data elements in a COBOL or PL/I program and included copybooks and include files.
Before you begin
About this task
The data element table is created by parsing a program and its copybooks or include files.
Parsing includes real-time syntax checking of the program, and included and found copybooks and
include files. The data element table can contain the following information about each data item.
- Data item name
- Declared level
- Top-level structure name
- Declaration data
- Declaration location
- Declaration line number
- Number of references to the data item
- Length of the data item
- Offset of the data item
- Item type
- Initial value
- Full declaration
- Export data element
If the data element table is open and you make another request to open it, the new contents
replace the current data in the view.
Restriction: The Data
Elements view is subject to the following restrictions and limitations:
- It cannot be opened from a copybook or include file.
- Display of data item length and offset is limited. For more information about displaying the
length and offset of data items, see:
- Length and offset of data items (z Systems® LPEX Editor)
- Length and offset of data items (COBOL Editor)
- Length and offset of data items (PL/I Editor)
- Data elements defined in user-defined functions are not supported.
.