Pathmaker Programming Guide

Controlling Default Screen Layout
Creating Requesters
067868 Tandem Computers Incorporated 5–25
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 format, EMP-REC looks like this:
FIRST-NAME LAST-NAME EMP-NUM DEPT
____________________ ________________________ ____ _____
For DB requesters, the initial value for Screen Format is taken from your entry in the
Requester Definition screen. If you decide to change the display format of a record,
you must change Screen Format on the record’s Record Instance Detail screen; the
value for Screen Format on the Record Instance Detail screen overrides the value for
Screen Format entered on the Requester Definition screen. Note that modifying the
Screen Format field on the Requester Definition screen after you have already added
the requester will not affect the Screen Format field on the Record Instance Detail
screen for the record.