Pathmaker Programming Guide

Specifying CALL and SEND Parameters
Creating Requesters
067868 Tandem Computers Incorporated 5–33
Requester Parameters You use the Requester Parameters screen to specify a list of formal parameters.
Formal parameters are the parameters that this requester expects to receive from
another requester. The generated application passes values to the formal parameters
when another requester calls this one.
The following points are guidelines for using the Requester Parameters screen:
You must complete the Requester Parameters screen of the called requester before
you can update the CALL Parameter Definition screen of the calling requester.
The parameters that you specify on the Requester Parameters screen become part
of the SCREEN COBOL Linkage Section when the Pathmaker product generates
the SCREEN COBOL code for the called requester. For example, assume you have
entered the following three definitions on the Requester Parameters screen:
ACCT-NUM-DEF
ACCESS-CODE-DEF
ACCESS-CODE-2-DEF
Figure 5-7 shows the SCREEN COBOL code that the Pathmaker product generates
using these reference objects.
Figure 5-7. SCREEN COBOL for Requester Parameters
LINKAGE SECTION.
01 T9154-LINKAGE.
.
.
.
01 ACCT-NUM-DEF PIC X(10).
01 ACCESS-CODE-DEF PIC X(2).
01 ACCESS-CODE-2-DEF PIC X(2).
SCREEN SECTION.
.
.
.
PROCEDURE DIVISION USING T9154-LINKAGE
ACCT-NUM-DEF
ACCESS-CODE-DEF
ACCESS-CODE-2-DEF.