Pathmaker Programming Guide
Controlling Default Screen Layout
Creating Requesters
067868 Tandem Computers Incorporated 5–19
Each of these screen formats for this Enscribe DDL definition is shown in the following
examples:
DEFINITION emp-def.
02 first-name PIC X(20).
02 last-name PIC X(25).
02 emp-num PIC 9(4).
02 dept PIC 9(5).
END.
RECORD emp-rec.
FILE IS emp KEY-SEQUENCED.
DEFINITION IS EMP-DEF.
KEY IS emp-num DUPLICATES NOT ALLOWED.
END.
In uncompressed screen format, EMP-REC looks like this:
FIRST-NAME ____________________
LAST-NAME _________________________
EMP-NUM ____
DEPT _____
In compressed screen format, EMP-REC looks like this:
FIRST-NAME ______________ LAST-NAME _____________________
EMP-NUM ____ DEPT _____
(In the compressed screen format example, the FIRST-NAME and LAST-NAME fields
have been shortened to fit onto the manual page; these fields would appear the correct
length on the default screen.)
In tabular screen format, EMP-REC looks like this:
FIRST-NAME LAST-NAME EMP-NUM DEPT
____________________ ________________________ ____ _____
Compressed screen format is only visible on group definitions, records, or
NonStop SQL tables. All of these structures are objects made up of blocks of
subordinate objects. If you enter a series of elementary definitions into the Requester
Context, compressed format will not appear to have an effect, because all of these
items are at the same lexical level (the 01 level). For example, if you enter the
following list of definitions, default screen generation will display each of them on
subsequent lines, even if you specify COM on the Requester Definition screen or on
the Record Instance Detail screen:
DEF first-name PIC X(20).
DEF last-name PIC X(25).
DEF emp-num PIC 9(4).
DEF dept PIC 9(5).