Statement | Format | Relationship | Entities |
---|---|---|---|
DBD |
DBD NAME=db-name ACCESS= (db-type, ...) ... |
DBD File Defines Hierarchical Database |
HiDatabase.Name = <db-name> HiDatabase.Type = <db-type> |
DATASET (GSAM only) |
DATASET DD1=dd-name1, DD2=dd-name2, ... |
Hierarchical Database Has Hierarchical Database Segment |
HiSegment.Name = <db-name>. <db-name> HiSegment.Segment Name = <db-name> HiSegment.DDName = <dd-name1> HiSegment. DDName2 = <dd-name2> |
SEGM |
SEGM NAME=seg-name, ... NAME= seg-name2, ... dbname2)) |
Hierarchical Database Has Hierarchical Database Segment Hierarchical Database Segment Has Logical Child Hierarchical Database Segment |
HiSegment.Name = <db-name>. <seg-name> HiSegment.Segment Name = <seg-name> HiSegment.Name = <db-name>. <seg-name> HiSegmentChild. Name = <db-name2> .<seg-name2> HiSegmentChild. SegmentName = <seg-name2> |
LCHILD |
SEGM NAME= seg-name, ... LCHILD= NAME= (seg-name, dbname) |
Hierarchical Database Segment Has Logical Child Hierarchical Database Segment |
HiSegment.Name = <db-name>. <seg-name> HiSegmentChild. Name = <db-name> .<seg-name> HiSegmentChild. SegmentName = <seg-name> |