Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Data Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
5-4
Screen Section
An 01 level data item can have a maximum size of 32,000 bytes and can comprise
elementary and/or group items. For example:
LINKAGE SECTION.
01 BIG-01-ITEM PIC X(32000).
01 BIG-GROUP-ITEM-1.
03 BIG-GROUP. PIC X(16000).
01 BIG-GROUP-ITEM-2.
03 BIG-GROUP.
05 BIG-ITEM-2-A. PIC X(16000).
05 BIG-ITEM-2-B. PIC X(16000).
01 BIG-ELEMENTARY-ITEM-01.
03 BIG-ELEMENTARY-GROUP.
05 BIG-ELEMENTARY-ITEM PIC X(32000).
Screen Section
The Screen Section describes the screens that are referred to in the Procedure Division.
The structure of the Screen Section is similar to that of the Working-Storage Section.
The section makes provision for two types of screens: base and overlay.
The section begins with a section header. The format of the header is:
Message Section
The Message Section describes the messages that are referred to in the Procedure
Division. The structure of the Message Section is similar to that of the Working-Storage
Section.
The section begins with a section header. The format of the header is:
Data Structure
Data is described through a set of entries that name the components of a structure,
describe the attributes of those components, and describe the structure into which the
components are organized. Each entry has a level number followed by a data name and
possibly a series of independent clauses. The level numbers depict the structure,
dividing the data into its smallest parts.
The lowest subdivisions of a structure, that is, those not further subdivided, are called
elementary items. A structure can be a single elementary item or a series of elementary
items.
Note. When very large data items are displayed using INSPECT, truncation might occur.
SCREEN SECTION.
MESSAGE SECTION.