Pathmaker Programming Guide

Modifying Requesters
Advanced Pathmaker Programming Topics
9–8 067868 Tandem Computers Incorporated
Using Pathmaker Variables and Paragraphs
A subset of Pathmaker variables will not change from release to release; these
variables can safely be used in the requester copy library to modify the requester that
the Pathmaker product generates. The subset of Pathmaker variables that can be used
to modify your requester are summarized in Table 9-3. More information about using
these variables and paragraphs is presented later in this subsection.
Table 9-3. Accessible Pathmaker Variables and Paragraphs
Variable or Paragraph Name Description
T9154-EXIT-PROGRAM-SW
T9154-USER-ERROR-SW
Switches used to control requester program flow
T9154-LINKAGE Requester linkage variables
T9154-PATHMON-NAME
T9154-SYSTEM-NAME
Variables used to SEND to a server over the network
T9154-BASE-DISPLAYED
T9154-MAIN-SCREEN
0300-DISPLAY-SCREEN
Variables and paragraph used for screen display
0900-BUILD-CURSOR-POSITION Paragraph used for cursor positioning logic
T9154-ADVISORY-MSG-TEXT
T9154-CURRENT-PAGE
T9154-CURSOR-FIELD
T9154-CURSOR-POSITION
T9154-DATE
T9154-PAGE-COUNT
TERMINAL-FILENAME
LOGICAL-TERMINAL-NAME
T9154-TIME
Working-Storage data items for the Pathmaker
pseudofields
These variables will not change in future releases of the Pathmaker product. All other
Pathmaker variables are subject to change in future releases of the product.
T9154-EXIT-PROGRAM-SW and T9154-USER-ERROR-SW. T9154-EXIT-PROGRAM-SW and
T9154-USER-ERROR-SW are two switches that you can use in the requester copy
library to control the flow of the generated requester.
The generated requester checks T9154-EXIT-PROGRAM-SW in the following places:
After ?SECTION USER-SECURITY
In a DB requester, after the initial DB action
While accepting input from the keyboard
In ?SECTION USER-PRE-INIT
For example, you can set T9154-EXIT-PROGRAM-SW in ?SECTION USER-SECURITY
to indicate whether the security check passed or failed.