Pathmaker Programming Guide
Coding Custom Services
Creating Services and Servers
4–22 067868 Tandem Computers Incorporated
and closing of files. Comments regarding the intended use of these files are included
in the appropriate section of the default Custom Source File.
The sections in the Custom Source File produce the following statements in the
generated COBOL85 server:
beginning of main program
. . .
WORKING-STORAGE SECTION.
. . .
working-storage for main program
. . .
EXTENDED-STORAGE SECTION.
. . .
extended-storage for main-program
. . .
PROCEDURE DIVISION.
. . .
T9154-DO-A-USER-SERVICE.
. . .
CALL
service-name
. . .
?HEADING "
service-name
"
beginning of directly contained program for service
. . .
WORKING-STORAGE SECTION.
. . .
working storage for service from Custom Source File
. . .
EXTENDED-STORAGE SECTION.
. . .
extended storage for service from Custom Source File
. . .
MAIN SECTION.
. . .
procedure code for service from Custom Source File
. . .
T9154-SETUP SECTION.
. . .
optional procedure code for setup from Custom Source File
. . .
T9154-CLEANUP SECTION.
. . .
optional procedure code for cleanup from Custom Source File
. . .