Pathmaker Programming Guide
Controlling Default Screen Layout
Creating Requesters
067868 Tandem Computers Incorporated 5–17
Using the OCCURS clause creates an array structure. In the previous example,
GROUP1 is an array structure that occurs three times. In some applications, you
need to know where the cursor is within the list when you invoke a service.
You can pass the current cursor position to a service by using either the
@CURSOR-FIELD pseudofield or the @CURSOR-POSITION pseudofield.
@CURSOR-FIELD sends the screen field name and subscript number of the
current field to the service. @CURSOR-POSITION sends the Working-Storage
group name, field name, and subscript number of the current field to the service.
In both cases, the subscript number corresponds to the index number of the array.
Refer to “Using Pathmaker Pseudofields” in Section 9 for more information about
@CURSOR-FIELD and @CURSOR-POSITION.
You cannot pass @CURSOR-POSITION from one requester to another requester.
Attributes That Affect
Default Screen Layout
In addition to the DDL clauses, the Pathmaker product itself has several attributes that
can affect the appearance of the default screen. These attributes are listed in Table 5-6.
Table 5-6. Attributes Affecting Default Screens
Requester Types
Attribute DB MENU TRNS REG
Displayed fields Yes No Yes No
Headings Yes No Yes No
Linkage information Yes No No No
Repetition Yes No No No
Screen format Yes No Yes No
Terminal type Yes Yes Yes No
Title Yes Yes Yes No
Function keys and function key
prompts
Yes Yes Yes No
These attributes are described in detail as follows:
Attributes for MENU and TRNS requesters are described first.
Attributes for DB requesters are described last.