Pathmaker Programming Guide

Modifying Requesters
Advanced Pathmaker Programming Topics
067868 Tandem Computers Incorporated 9–5
Sections in a Requester Copy Library
Table 9-2 lists each of the sections in a requester copy library and briefly describes how
each section is used.
Table 9-2. Requester Copy Library Sections (Page 1 of 3)
Section Name Description
?SECTION USER-COMPILER-CMDS , TANDEM Used to add compiler commands; default
is ?SYMBOLS.
?SECTION USER-WS , TANDEM Used to add local Working-Storage
structures and data items to the requester
for use in your own routines.
These structures are not part of the
requester context and cannot be directly
used to display data on the application
screen or to send data in IPC messages.
?SECTION USER-SECURITY , TANDEM Used to make security checks. This
portion of the requester code can be used
to check the end user’s permission to
access this screen.
If you set T9154-EXIT-PROGRAM equal
to Y in this section, the program ends.
?SECTION USER-INIT-DATA , TANDEM Used to initialize the user-defined
Working-Storage data items.
?SECTION USER-PRE-DISPLAY , TANDEM Used to move data or clear variables
before every display of the screen’s data.
?SECTION USER-POST-DISPLAY , TANDEM Used to change display attributes
conditionally. Executed after DISPLAY
and before ACCEPT.
?SECTION USER-PRE-ACCEPT , TANDEM Can be used to set cursor position to a
position other than the first data field.
?SECTION USER-POST-ACCEPT , TANDEM Executed immediately after getting input
from the keyboard. Can be used to set
flags to be used by PRE or POST function
key routines.
?SECTION USER-PRE-INIT , TANDEM Executed immediately before an initial
action in a requester. An initial action is
specified on the Function Key
Assignments screen.
If you set T9154-USER-ERROR (a switch
in the requester skeleton) equal to Y in
the USER-PRE-INIT section, the action is
not performed.
If you set T9154-EXIT-PROGRAM equal
to Y in this section, the program ends.