HP Integrity NonStop J-Series User Manual

Page 210

Advertising
background image

INTEGRATING APPLICATIONS
Obtaining SCREEN COBOL Source Code

Obtaining SCREEN COBOL Source Code

If you want to provide the ability to call one application from
another, you will need the SCREEN COBOL source code of the
calling application. To obtain the SCREEN COBOL source code,
supply a value for the SCOBOLSOURCE attribute, which identifies a
file to which the SCREEN COBOL source code is written. The
following SET APPL SCOBOLSOURCE command, for example, indicates
that the SCREEN COBOL source code is written to a file named
"srca":

SET APPL SCOBOLSOURCE srca

Avoiding Conflicting Box Names

When you integrate several applications into the same PATHWAY
system, some applications may use boxes having the same name.
Since box names appear both in the generated SCREEN COBOL
program and in the PATHCOM command file, all boxes with the same
name must:

• Represent the same data base file

• Have compatible values for the ABILITY attributes (FILL,
DELETE, INSERT, READ, and UPDATE)

ENABLE uses the box name in a SET SERVER ASSIGN command in the
PATHCOM command file to associate a data base file with the named
box. The SET SERVER ASSIGN command for an application that uses
a box named "one-box," for example, might appear as follows:

SET SERVER (ASSIGN ONE-BOX, ONEFILE, INPUT)

where "one-box" is the box name, "onefile" is the name of the
data base file that the box represents, and INPUT is the access
mode with which the file is to be opened.

When you establish a PATHWAY system, PATHMON, the controlling
process in the system, stores information from the SET SERVER
ASSIGN commands in a file called PATHCTL. When you execute the
application, the following events take place:

• PATHMON starts the General Server and passes it information
from the SET SERVER ASSIGN and SET SERVER PARAM commands.

11-6

Advertising
This manual is related to the following products: