HP Integrity NonStop J-Series User Manual

Page 220

Advertising
background image

INTEGRATING APPLICATIONS
Determining a New Value for MAXTERMDATA

Determining a New Value for MAXTERMDATA

The value of MAXTERMDATA defines the maximum number of bytes used
by the terminal control process (TCP) for data space for each
terminal. A PATHCOM command file generated by ENABLE contains a
value for MAXTERMDATA appropriate for one application. For
example, in Figure 11-4, MAXTERMDATA is 12036.

When you integrate several ENABLE applications, you must increase
the value of MAXTERMDATA to allow the necessary data space for
all the applications. You can estimate an appropriate value for
MAXTERMDATA following these steps:

1. Examine the SCREEN COBOL listings of all the applications.
On the last page of each listing, the SCOBOL compiler prints
a value called DATA SIZE. Make a list of the DATA SIZE
values for each application.

2. Compute the number of bytes in the longest path through the
applications. A path through applications exists when one
application calls another application. Figure 11-5 shows two
examples of how to compute the number of bytes in the longest
path. The first example shows how you determine the longest
path when all applications are called from a menu program.
The second example shows how you determine the longest path
when applications are called from other applications.

3. Multiply the number of bytes in the longest path by 2 to
estimate an appropriate value for MAXTERMDATA, as follows:

For Example 1 in Figure 11-5 (where all applications are
called from a menu program), the estimated value of
MAXTERMDATA is 15048 (7524 * 2).

For Example 2 in Figure 11-5 (where applications are
called from other applications), the estimated value of
MAXTERMDATA is 21628 (10818 * 2).

Refer to the PATHWAY System Management Reference Manual for more
information about MAXTERMDATA.

11-16

Advertising
This manual is related to the following products: