iTP Active Transaction Pages (iTP ATP) Programmer's Guide

Installing and Running ATP
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
2-10
ATP Configuration File
Map Defines
The MapDefine subcommands of the Server directive specify the locations of
processes and database tables used in the sample applications. Add to this list to include
map defines for tables and views used in your own applications or for additional
PATHMON processes. ATP creates an implicit define called
=TANDEM_PATHMON_NAME, which refers to the PATHMON environment where this
atp server class is defined. This define is derived from an iTP Secure WebServer
environment variable also called TANDEM_PATHMON_NAME. If you choose to define a
separate PATHMON environment for any application, the map define that specifies the
PATHMON process name must be consistent with the makefile for that application.
The following map defines specify the locations of DDL dictionaries. The volume and
subvolume names depend on what you specified during installation.
MapDefine =atp_EM_DDL /G/data02/ZATPEM/dictddf
MapDefine =atp_FU_ddl /G/data02/ZATPFU/dictddf
MapDefine =atp_HM_ddl /G/data02/ZATPHM/dictddf
The following map defines specify the locations of SQL tables:
MapDefine =cust /G/DATA02/ZATPHM/cust
MapDefine =tran /G/DATA02/ZATPHM/tran
MapDefine =account /G/DATA02/ZATPHM/account
MapDefine =access /G/DATA02/ZATPHM/access
MapDefine =userid /G/DATA02/ZATPHM/userid
MapDefine =acl /G/DATA02/ZATPHM/acl
MapDefine =bankapp-account /G/DATA02/ZATPHM/account
The following map define is for the NonStop TUXEDO bankapp application. Remove
the comment character (#) if you are running NonStop TUXEDO.
#MapDefine =bankapp-account
/G/YOUR_VOLUME/YOUR_SUBVOLUME/account
Maxlinks, Maxservers, and Numstatic Parameters
The following parameters specify the number of concurrent links to a server in the atp
server class (Maxlinks), the maximum number of servers in the class
(Maxservers), and the number of static servers in the class (Numstatic). Each atp
process is single threaded, so the value of Maxlinks must remain 1. In a production
environment, a large value of Numstatic will provide better performance than the
value given here; ideally, the value of Numstatic should be equal to the average
number of concurrent requests to the atp server class.
Maxlinks 1
Maxservers 20
Numstatic 4 }
Source Statements
The atp.config file checks for the presence of configuration files for NonStop
TUXEDO and the example applications. If a configuration file is present, it is included
in atp.config.