Pathmaker Programming Guide
Modifying Requesters
Advanced Pathmaker Programming Topics
067868 Tandem Computers Incorporated 9–31
The following example illustrates a safe edit that you can make to the requester
skeleton. In the Pathmaker product, you cause the current date to be displayed on the
application screen by using the Screen Painter to add the @DATE pseudofield to the
requester. You can reorder the way in which the date is displayed by editing the
screen format for date in the requester skeleton’s Working-Storage Section:
.
.
.
01 T9154-SCREEN-TIME-FORMAT.
02 T9154-SCREEN-DATE.
03 T9154-MM PIC XX. <-- Skeleton
03 FILLER PIC X VALUE "/". displays
03 T9154-DD PIC XX. <-- dates
03 FILLER PIC X VALUE "/". in this
03 T9154-YY PIC XX. <-- order.
.
.
.
The following code shows the date display changed from the American standard
(MM/DD/YY) to the European standard (DD/MM/YY):
.
.
.
01 T9154-SCREEN-TIME-FORMAT.
02 T9154-SCREEN-DATE.
03 T9154-DD PIC XX. <-- You can
03 FILLER PIC X VALUE "/". reorder
03 T9154-MM PIC XX. <-- the date
03 FILLER PIC X VALUE "/". display
03 T9154-YY PIC XX. <-- like this.
.
.
.
Refer to the Pathmaker Reference Manual for a description of the syntax of the
Pathmaker macro language.