Previous Topic: Data Structure DiagramNext Topic: Wallpapering: Technique Used to Assemble a Data Structure Diagram


Basic Components of the Data Structure Diagram

The main component of the CA IDMS Schema Mapper data structure diagram is the record block. Each rectangular-shaped graphic represents a CA IDMS record and contains CA IDMS record fields. The upper left corner of the diagram is the origin (0,0). The coordinate position of each record block, relative to this origin, appears in the Cross-Reference Report.

  1. REC-NAME (record name) field identifies the name of the record type.
  2. The LOC-MODE (location mode) field identifies how records are physically located in their areas: CALC, VIA, or DIRECT.
  3. The LENGTH-MODE field identifies the record modes: F (fixed), V (variable), FC (fixed compressed), or VC (variable compressed). The value for this field is not stored in the dictionary in any literal sense. CA IDMS Schema Mapper determines the value as follows:
  4. The LENGTH (record size) field identifies the actual data length of the record (if fixed length), or the maximum data length of the record (if variable length), in bytes. If the value obtained from the dictionary is less than 1, CA IDMS Schema Mapper uses a value of 1 in the record block. This happens, for example, when a schema record is defined without any elements and is consistent with the value reported by IDMSRPTS for data length.
  5. The AREA field identifies the name of the area in which the record type is located.
  6. The DUPS-OPT (duplicates option) field identifies the disposition of records with duplicate control keys: DN (duplicates not allowed), DF (duplicates first), or DL (duplicates last). This field is blank for non-CALC records.
  7. The LOC-CTRL (location control) field identifies the CALC key name or VIA set name. This is always DIRECT-DBK for DIRECT records.
  8. The REC-ID (record identification) field gives the unique identification number of the record type.
  9. Groups of record blocks are connected by set connection lines, which show set relationships. Sets are identified by numbers in the CA IDMS Schema Mapper data structure diagram and are cross-referenced in the Cross-Reference Report. A unique number from 1 to n is assigned to each set, and the unique number appears with each set connection in the diagram as described below:

    Record blocks that represent members of sets have arrows pointing toward them. Record blocks that represent owners of sets have arrows pointing away from them.

  10. The diagonal line that appears in the diagram for indexes contains the letters II when the line represents an integrated index.

Exhibit 3.1: Sample of a Simple Data Structure Diagram