Segment Layout Names

A segment layout name is constructed from information in the segment and the Data Division from which it is created.

Default segment layout
A default segment layout name is constructed as follows:
segment-name-DEFAULT

where segment-name is the name of the segment in the IMS database. For example, the default segment layout for a segment named LD9S1 is LD9S1-DEFAULT. In the IMS Database Editor, the Layout Status Bar displays the name of a default segment layout simply as DEFAULT.

Conditional segment layouts
Conditional segment layout names are constructed as follows:
segment-name-record-name
where:
segment-name is the name of the segment type in the IMS database
record-name is the name of the COBOL record used to create the segment layout

For example, a COBOL record named 01 CUSTREC applied to a segment type named LD9S1 results the layout name LD9S1-CUSTREC. In the IMS Database Editor, the Layout Status Bar displays only the second part of the layout name. Therefore, for LD9S1-CUSTREC, simply CUSTREC is displayed.