Data Source Structures
The Data Source Structures report furnishes a detailed listing of all data sources per program, showcasing their primary and internal data structures.
The Primary Data Structure is defined in the File Section of a program. The Internal Data Structure is defined in the working storage section of the program. Users can click on the Primary Data Structure or Internal Data Structure links to open the variables view for the selected structure.
The Data Source Structures report can be leveraged to understand scenarios where the same file has multiple record layouts, with redefinitions in COBOL as an example. This helps prepare test data/files earlier as the structure of the data sources is known upfront.
Below is the Primary Data Structure for the Data Source ACCTREC.