Pathmaker Programming Guide

Modifying Requesters
Advanced Pathmaker Programming Topics
9–10 067868 Tandem Computers Incorporated
Here are guidelines for using the requester linkage:
You can set variables in the request and reply header in either the requester copy
library or the Custom Source File (for a service), as needed.
T9154-PROJECT-NAME must contain the correct project name so that the
generated application can locate the help database. T9154-PROJECT-NAME is
automatically filled in by the initial requester, and you should not make changes
to it in your program.
T9154-TERMINAL-ID and T9154-USERID-NAME are not filled in automatically;
you can set them in your custom service Custom Source File or in your requester
copy library. T9154-TERMINAL-ID should be the internal, physical name of the
terminal. The terminal name can be obtained from the Pathway special register
TERMINAL-FILENAME.
The structure of the request and reply header for SCREEN COBOL requesters is:
01 T9154-LINKAGE.
02 T9154-VERSION PIC 9(4).
02 T9154-REQUEST-HEADER.
03 T9154-REQUEST-CODE PIC S9(9) COMP.
03 T9154-TERMINAL-ID PIC X(24).
03 T9154-USERID-NAME.
04 T9154-GROUP-NAME PIC X(8).
04 T9154-USER-NAME PIC X(8).
02 T9154-REPLY-HEADER.
03 T9154-REPLY-CODE PIC S9(04) COMP.
03 T9154-TMF-ABORT-FLAG PIC X.
88 T9154-TMF-ABORT-REQUIRED VALUE "Y".
03 T9154-ADVISORY-MSG-FIELDS.
04 T9154-ADVISORY-MSG-SEVERITY PIC X.
88 T9154-NORMAL-ADVISORY VALUE "N".
88 T9154-WARNING-ADVISORY VALUE "W".
88 T9154-ERROR-ADVISORY VALUE "E".
04 T9154-ADVISORY-MSG-TEXT PIC X(76).
03 T9154-REASON-CODE PIC S9(4) COMP.
02 T9154-NAMED-EXIT.
03 T9154-EXIT-REQUESTER-NAME PIC X(30).
03 T9154-EXIT-TO-NAMED-REQ-SW PIC X.
88 T9154-EXIT-TO-NAMED-REQ VALUE "Y".
02 T9154-EXIT-APPLICATION-SW PIC X.
88 T9154-EXIT-APPLICATION VALUE "Y".
02 T9154-PROJECT-NAME PIC X(30).
02 FILLER PIC X(70).