The -DC Lines tab is dedicated to the description of the CODASYL, DMSII and TANDEM Batabase blocks. You can declare the areas, call the records and distribute them within the AREAS, call the SETS and describes them (code, clear name, parent and child Segments).
Value | Description |
---|---|
* | Continuation of a set. For a set with multiple members, the first 'MEMBER' Segment is indicated on an 'S' line type and the other ones on the '*' line types. |
S | Set (default option). |
A | Area, TANDEM Database |
R | Record. |
You enter in this field the Segment code which corresponds to the called record. When the Database Block is generated, this code is displayed after the 'RECORD' clause.
To enter or modify the contents of this field, click on Change and then in the list which displays in a dialog box, select a Segment.
This field can be used with a 'S'-type line only. You enter here the Relationship code from which the set is derived. VA Pac will automatically create a cross-reference for these relationships.
Only used for IDMS ('D3', 'D4' types), DM4 ('M3' type) and DMS ('S3' type) sub-schemas.
On a 'R'-type line, you can change the description of the selected record.
Depending on the value of the 'Type' of line selected, you enter in this field:
You can select a sub-schema at the Block description level. To do so, with an 'R'-type lines, enter SS=n (with 'n' being the sub-schema number according to the VA Pac definition). For an IDS2 (I3) sub-schema, it is possible to call an object (area, record, set) without re-describing it, by specifying: INCLUSION.
You enter in this field the name of the physical file which supports the data. When the Database Block is generated, this name appears after the 'FILE IS' clause.
The -GG lines section displays when you enter or click on a -DC description line. In this section, you can enter information to complete the description line.
G RECORD < RECORD NAME > . G RECORD SS00 .The lines that you want to have included in the generation must be marked by a'G'-type line.
G RECORD < RECORD NAME > . G FILE IS < FILE NAME > . G KEY-SEQUENCED . G ---> ELEMENT INSERTION BEGINING <--- G<NUCLIE> G 10 NUCLIE PICTURE X(8). G ---> ELEMENT INSERTIOM END <-- G KEY IS < FIELD NAME > .
For more details on the generation lines, see the explanations about generation lines in Creating -GG lines associated with this page.