HP Integrity NonStop J-Series User Manual

Page 213

Advertising
background image

INTEGRATING APPLICATIONS
Avoiding Conflicting Box Names

Since the General Server can assign only one physical file to a
box name, boxes with the same name must represent the same file.
Consider, for example, the following ENABLE commands used to
generate two applications:

SET RECORD a-rec SET RECORD b-rec
SET DATAFILE afile SET DATAFILE bfile
ADD BOX my-box ADD BOX my-box
SET APPL PATHCOMFILE p1 SET APPL PATHCOMFILE p2
SET APPL TREE (01 my-box) SET APPL TREE (01 my-box)
ADD APPL my-appl1 ADD APPL my-appl2
GENERATE APPL my-appl1 GENERATE APPL my-appl2

You cannot integrate these applications into the same PATHWAY
system because "my-box" in "my-appl1" represents a data base file
named "afile" while "my-box" in "my-appl2" represents a data base
file named "bfile."

Since the values of the ABILITY attributes determine the access
mode with which the General Server can open a data base file,
boxes with the same name must also have compatible values for
these attributes. The General Server cannot assign a file to
box when the file is assigned more than one access mode.

Table 11-1 lists the access modes and the values for the ABILITY
attributes that correspond to these access modes.

Table 11-1. Access Modes and ABILITY Attribute Values

S5044-056

Access Mode

Ability Attribute Value

I/O
(default)

Input only

Output only

READ ON (BOXFILL can be either ON or OFF)
DELETE, UPDATE, or INSERT set ON

READ ON or BOXFILL ON
DELETE OFF, INSERT OFF, and UPDATE OFF

READ OFF and BOXFILL OFF
INSERT ON
DELETE OFF and UPDATE OFF

11-9

Advertising
This manual is related to the following products: