Pathmaker Programming Guide
Modifying a Server Skeleton or Service Skeleton
Advanced Pathmaker Programming Topics
9–32 067868 Tandem Computers Incorporated
Modifying a Server
Skeleton or Service
Skeleton
The Pathmaker server skeletons act as frameworks for generated servers. SERVSKL is
the Pathmaker skeleton used to generate COBOL85 servers. This server skeleton file
consists of COBOL85 source text lines plus Pathmaker macro language command
lines.
CSERVSKL is the Pathmaker skeleton used to generate C servers. This server skeleton
file consists of C source text lines plus Pathmaker macro language command lines.
The Pathmaker product also provides a service skeleton for C services (CSVCSKL).
This file is also written in the Pathmaker macro language and can be modified.
The default skeletons are found on the subvolume on which the object files for this
version of the Pathmaker product are installed.
As with the requester skeleton, you can copy these skeletons and make certain changes
to them. You should not change the original skeleton files on the release subvolume.
If you want, you can create several edited skeletons for use in various portions of your
application or for various Pathmaker projects.
Caution You must reapply any changes to the skeletons in later releases of the product. Tandem does not
assume responsibility for changes made to a skeleton.
If you do edit a server skeleton, inform application developers to specify the new
server skeleton file name on the Server Definition screen. If you edit the C service
skeleton, inform application developers to use the new service skeleton by specifying
the new service skeleton file name in the Skeleton File field on the second page of the
Service Definition screen.
The following list summarizes the types of changes you can make to the COBOL
server skeleton. You can:
Add additional entries to the SPECIAL-NAMES paragraph
Reformat error messages or rewrite existing error messages
Change the maximum number of requesting processes by modifying the
Receive-Control and Reply table sizes
Insert global procedures that could be called by any service within the COBOL
server. (A Pathmaker registered macro could also be created for this purpose.
Refer to “Preparing Shared Code for a Pathmaker Project” in Section 2.)
You can change the C service skeleton to:
Include additional libraries that can be used by any service
You can change the C server skeleton to:
Rewrite some existing error messages
Change the maximum number of requesting processes
To reformat or rewrite additional existing error messages for C servers, you should
edit the PMSVCULC file.