HP Integrity NonStop J-Series User Manual
Page 223
![background image](/manuals/396723/223/background.png)
INTEGRATING APPLICATIONS
Adding SET SERVER ASSIGN Commands
Changing the Program Name in the PATHCOM ADD PROGRAM Command
The ADD PROGRAM command enters a program description into the
PATHWAY configuration. A PATHCOM command file generated by
ENABLE sets the program-name parameter of this command to the
application name. When you integrate several ENABLE
applications, change the program name to that of the SCREEN COBOL
menu program. (This name appears in the PROGRAM-ID paragraph of
the menu program.) In Figure 11-4, for example, the ADD PROGRAM
command appears as follows:
ADD PROGRAM APPL-A
If your menu program is named MENU, change the program name as
follows:
ADD PROGRAM MENU
Adding SET SERVER ASSIGN Commands
The General Server obtains file assignments from the SET SERVER
ASSIGN commands in the PATHCOM command file. A PATHCOM command
file generated by ENABLE contains file assignments for a single
ENABLE application. In Figure 11-4, for example, the following
SET SERVER ASSIGN commands appear:
SET SERVER (ASSIGN A-BOX,AFILE,INPUT)
SET SERVER (ASSIGN B-BOX,BFILE)
SET SERVER (ASSIGN C-BOX,CFILE)
When you integrate several ENABLE applications, you must add the
SET SERVER ASSIGN commands needed for all of the applications.
You can copy the SET SERVER ASSIGN commands from the PATHCOM
command files produced for the applications to be added, for
example:
SET SERVER (ASSIGN A-BOX,AFILE,INPUT)
SET SERVER (ASSIGN B-BOX,BFILE) <------ original SET
SET SERVER (ASSIGN C-BOX,CFILE) SERVER ASSIGN
SET SERVER (ASSIGN CC-BOX, CFILE) commands
SET SERVER (ASSIGN D-BOX, DFILE) <----- SET SERVER ASSIGN
SET SERVER (ASSIGN E-BOX, EFILE, INPUT) commands copied
SET SERVER (ASSIGN BB-BOX, BFILE, INPUT) from other
SET SERVER (ASSIGN AA-BOX, AFILE) PATHCOM files
...
11-19