Pathmaker Programming Guide

Adding, Modifying, or Deleting Services
Maintaining Pathmaker Applications
8–14 067868 Tandem Computers Incorporated
If the application no longer resides in the testing environment, use SCUP to copy
the SCREEN COBOL code to the application’s SCREEN COBOL object library files
(POBJCOD, POBJDIR, and POBJSYM). See “Changing Screen Decorations or
Screen Layout” earlier in this section for instructions on using SCUP to copy
specific requesters.
If you have modified many requesters, you might want to copy all the SCREEN
COBOL code to the application’s SCREEN COBOL object library files. The SCUP
command to do this is:
?COPY (*), $
vol.subvol
.POBJ
$
vol.subvol
is the production volume and subvolume.
Use FUP to move the server object code to the production subvolume.
13. Exit from the Pathmaker full screen interface.
14. Update the application’s Pathway configuration.
You should alter the Pathway configuration file, PATHCNFG, because you added
a new server class. After the file is updated, use it to cold start the application’s
Pathway system. See “Repackaging Services Into Existing Servers” earlier in this
section for a description of how to update the configuration.
15. Move the help text files to the production subvolume. See “Adding Help Text”
earlier in this section for instructions.
Adding New Services to
Existing Servers
New services can be added to existing servers in an installed application, as well as to
an application that still resides in the testing environment. The procedure for adding a
new service to an existing server is similar to the procedure for adding a new service
to a new server, with the following differences:
You do not have to define the server, because it already exists; however, you must
regenerate it when you add a new service.
You do not have to assign the server to server classes, because it already has been
assigned.
Another approach is to use a test server that contains only the new service. Code and
test the new service using the test server. After the new service has been thoroughly
tested, add it to the intended server, regenerate the server, then alter and regenerate
the mapping requester.
Modifying Services Modifying services is one of the most common maintenance activities you will
perform. After the application is installed in the testing environment, you will need to
modify services in which you have found logic errors. You can use Inspect to help you
debug a server generated by the Pathmaker product. The Inspect Manual contains
detailed information on using Inspect in a Pathway system.
Assume that you have found an error in a service that you want to correct. The
following procedure is one way to modify a service:
1. Modify the source code for the service in the Custom Source File.