Pathmaker Programming Guide
Basic Screen Painter Editing Functions
Using the Screen Painter
6–6 067868 Tandem Computers Incorporated
Field. Enter a fully qualified reference object field name in this Field. The Pathmaker
product allows you to specify as many qualifying names as are necessary to identify a
reference object uniquely. Wherever the Pathmaker product accepts a reference to an
elementary field name, it provides a field large enough to hold an elementary name
and one or more qualifying field names. You can enter an elementary name
containing a subset of qualifiers in this field.
Suppose you have the following DDL definitions:
DEF day PIC 99.
DEF month PIC 99.
DEF year PIC 99.
DEF date.
02 day TYPE *.
02 month TYPE *.
02 year TYPE *.
END
DEF order.
02 order-num PIC 9(8).
02 order-date TYPE date.
02 delivery-date TYPE date.
To resolve ambiguity, you could qualify the elementary field DAY of ORDER-DATE
and DELIVERY-DATE as follows:
ORDER.ORDER-DATE.DAY
ORDER.DELIVERY-DATE.DAY
If the name exceeds the length of the field or if you prefer not to enter the name
manually, you can invoke a value list screen and select the name there. On return
from the value list screen, the Pathmaker product displays as much of the selected
name in the field as possible and indicates whether or not the name is fully qualified.
If the name is not fully qualified, the Pathmaker product displays an asterisk (*) to the
right of the data field. The Pathmaker product stores an accurate internal
representation of the name in the project catalog.
You can get the Reference Field Value List for the reference object fields by entering a
valid reference object name and pressing F9.
These rules exist for entering field names:
You cannot enter the name of an elementary field that is already specified in the
current requester’s screen.
You must enter the name of an object that is in the requester’s context list. If you
want to put a field with no corresponding requester context on the screen, you can
draw it as a decoration and replace the decoration with the actual field later by
using the Data-Field partial screen.