Specify LOGICAL for ACCESS Parameter
To define a logical DBD, you must specify LOGICAL for the ACCESS parameter in the DBD statement. The bulk of a logical DBD consists of SEGM statements that reference segments defined in one or more physical DBDs. (Segment fields can be defined only on the physical DBD level.)
SEGM Statement
The SEGM statement specifies a NAME for the segment and must contain a SOURCE clause to identify the segment as defined in a physical DBD. Similar to physical DBDs, the PARENT parameter specifies the parent segment within the logical structure. For example, the statement below declares that segment SEG7 is based on the segment of the same name in the PHYSDB2 physical DBD, and is a child of the LSEGB segment in this logical database:
Syntax
SEGM NAME=SEG7,SOURCE=((SEG7,PHYSDB2)),PARENT=LSEGB
|
Copyright © 2013 CA.
All rights reserved.
|
|