Pathmaker Programming Guide

Modifying Requester/Server Pairs
Advanced Pathmaker Programming Topics
067868 Tandem Computers Incorporated 9–57
The following structures are only generated in the requester source code if you
display the corresponding pseudofield on the application screen or send the
pseudofield to a service:
LOGICAL-TERMINAL-NAME
TERMINAL-FILENAME
T9154-DATE
T9154-TIME
The generated requester initializes T9154-CURSOR-POSITION and T9154-
CURSOR-FIELD when it executes the 0900-BUILD-CURSOR-POSITION
paragraph.
The 0900-BUILD-CURSOR-POSITION paragraph is generated in a requester as
long as you either have a call to the Pathmaker help requester on the Function Key
Assignments screen (F3-CALL HELP), or send @CURSOR-POSITION or
@CURSOR-FIELD to a service on the SEND Parameter Definition screen.
Note The Pathmaker product does not generate the 0900-BUILD-CURSOR-POSITION paragraph if you do not
call the Pathmaker help requester and do not send @CURSOR-POSITION or @CURSOR-FIELD to a
service.
Examples of Using Pathmaker Pseudofields
The following pages give examples of how you might use the following Pathmaker
pseudofields:
@CURSOR-FIELD
@CURSOR-POSITION
@LOGICAL-TERMINAL
@PHYSICAL-TERMINAL
@CURSOR-FIELD. The @CURSOR-FIELD pseudofield contains the screen field name or
the point field name where the cursor was placed when you invoked the service.
A screen field name is a SCREEN COBOL name associated with a screen data field.
You can assign a screen field name by using the Display Detail screen. If you do not
assign a screen field name, the Pathmaker product generates one that is dependent on
the field’s relative position on the screen. For more information about screen field
names, refer to the Pathmaker Reference Manual.
A point field is an invisible screen element used with a function key and either the
pseudofield @CURSOR-POSITION or the pseudofield @CURSOR-FIELD to start some
operation in the application. You can create and name a point field by using the Point
Field Partial Screen in the Screen Painter.
@CURSOR-POSITION and @CURSOR-FIELD can be used for many of the same
purposes; however, the data that you send to the service will be different, and you
must test accordingly in the Custom Source File.