Version 8.1.2

Installing Adabas Transaction Manager for z/VSE


The Installation Tape

Review the Report of Tape Creation that accompanies the release package before restoring the release data to disk.

The installation tape contains the following datasets in the sequence indicated in the report:

Dataset Contents
ATMvrs.LIBR Executable modules and sample jobs
ATMvrs.SYS5 ADALOD input for the ATM PRR file
ATMvrs.SYS6 ADALOD input for the ATM STJ file
ATMvrs.SYS7 ADALOD input for the user proxy log (UPL) file
ATMvrs.SYS8 ADALOD input for the ET data file
ATMvrs.INPL Online Services application
ATMvrs.ERRN Online Services messages

where vrs is the version, revision, and system maintenance level of the product. Use the comments in the jobs when modifying them to conform to site requirements.

Top of page

Installation Checklist

The steps needed for a successful installation are as follows:

Step Description Job Name
  Before proceeding with the installation, ensure that all necessary preparation has been completed as described in section Before You Install.  
1 Restore the libraries from the installation tape.  
2 Create the transaction manager's database. ATMI030
3 Load the transaction manager files to the ATM transaction manager's database. ATM1050
4 INPL the Online Services application SYSATM. ATM1061
5 Define the default client runtime controls for use by the transaction manager client proxy.  
6 Prepare the ATM transaction manager job. ATMI200
7 Enable databases for two-phase commit.  
8 Prepare the Adabas System Coordinator daemons to support ATM.  
9 Make Adabas Transaction Manager components available as required.  
10 Define Adabas Transaction Manager to MSHP CORRECT facility.  

Top of page

Installation Procedure

Following is the general Adabas Transaction Manager installation procedure. The actual installation depends on your particular requirements and the specific contents of the release package provided by Software AG for your site. Information in the release package is intended for your system. If that information differs from the information in this section, use the release package information or contact Software AG technical support for assistance.

Step 1: Restore Libraries from the Installation Tape

Start of instruction setto restore libraries from the installation tape:

Step 2: Create the Transaction Manager Database (Job ATMI030)

The transaction manager database holds recovery information and, depending on the setting of the TMETDATA parameter, ET data, but no other operational data. The remaining files are for occasional use for special purposes – to store diagnostic log information obtained by the transaction manager client proxy, and to hold details of transactions that were forcibly terminated. The size of this database depends mainly on the number of transactions that might be in progress at the same time, and the total amount of ET data, if any, that the ATM manager will need to store.

Start of instruction setto create the database:

Use the normal reporting utilities to determine whether space shortages are likely to occur.

Step 3: Load the Transaction Manager Files into the Transaction Manager’s Database (Job ATMI050)

The recovery record file, suspect transaction file, proxy log file and ET data file have numbers 5, 6, 7 and 8, respectively. These file numbers are fixed. Since no application files should be loaded into this database, there should be no conflict.

If ET data is to be stored in the transaction manager’s database (TMETDATA=ATM), define file 8 with MAXISN large enough to allow an ISN for each ETID that will ever be used in this Adabas Transaction Manager’s local system. A decompressed ET data record occupies about 2 kilobytes. If you choose to store ET data in target databases (TMETDATA=TARGETS), file 8 will not be used. For more information, see TMETDATA parameter.

Start of instruction setto load the transaction manager files into the transaction manager’s database:

The suggested sizes are adequate for the purposes of testing. You can use the normal reporting utilities to check whether your system needs larger files.

Step 4: Install the Online Services Application SYSATM (Job ATMI061)

The Adabas Transaction Manager Online Services application is delivered on the installation tape as a NATUNLD dataset created under Natural. The application programs are stored in libraries SYSATM and SYSMTvrs where vrs is the version, revision, and system maintenance level of the product.

Start of instruction setto install the Online Services application SYSATM:

  1. Use a Natural utility to install the Online Services application and ERRLODUS to install its messages.

  2. If Natural Security is installed, define the libraries SYSATM and SYSMTvrs (where vrs is the version you are installing, for example 812) and protect as required. You may define MENU as the startup transaction for SYSATM. DO NOT define a startup transaction for SYSMTvrs.

Step 5: Define the Default Client Runtime Controls for the Transaction Manager Client Proxy

The default client runtime controls for the Transaction Manager client proxy must be defined. For further information, see Online Services, Client Runtime Controls. See also the section Adabas Transaction Manager Components.

Start of instruction setto define the default client runtime controls for the transaction manager client proxy:

  1. Start a Natural session and log on to the newly installed SYSATM application. Invoke the Menu function. If you have not defined LFILE 152 for your Natural session, a message will prompt you to define it now. Select Systems Settings, then option LFILE 152 Maintenance. Enter the Database ID and file number of the system file that you created when you installed the Adabas System Coordinator. Enter values for the remaining input fields, and confirm your definition. Now return to the main menu and select the Client Runtime Controls option. For a detailed description of the following step, refer to Online Services, Client Runtime Controls

  2. On the Client Runtime Controls screen, press PF10 to add a new default definition. Select an appropriate job type and press Enter. On the next screen, enter *DEFAULT as the job name, and press PF5. Now you can specify the default ATM runtime control settings for the selected job type.Make sure that you set Adabas Transaction Manager to ON. Set the SVC number that will be used by the Adabas Transaction Manager that you are installing.You must also set the name of the Adabas System Coordinator group in which your client jobs and TP systems will execute. The provided default values for the remaining controls should be satisfactory for the purpose of completing and verifying the installation. You can review and change them as required once you have completed and verified the installation.

Step 6: Prepare the ATM Transaction Manager Job

Because the ATM transaction manager executes as a special kind of Adabas nucleus, its JCL is similar to that of a normal Adabas nucleus.

Start of instruction setto prepare the ATM transaction manager job:

  1. Make any necessary site-specific changes to ATMI200 so that it can be used as a procedure for a started task.

  2. Ensure that any ADALNK module that can be loaded by the ATM job does not have the Adabas System Coordinator stub linked into it.

  3. Specify ADARUN DTP=TM.

  4. Specify ADARUN TMLOG=NEVER for the purpose of verifying the installation. Once the verification process has been completed, reconsider this parameter setting.

  5. Specify ADARUN NONDES=YES. This is the default setting.

Set other ADARUN parameters as you would for a normal database. For initial testing, the default limits and pool and buffer sizes should be sufficient.

See the section Parameters for a description of the ADARUN parameters that affect Adabas Transaction Manager operation.

Note:
An Adabas Transaction Manager job must be run in each operating system image that will participate in distributed transaction processing (DTP). If more than one Adabas SVC is used in the same system image, an Adabas Transaction Manager must be run under each Adabas SVC that will participate in DTP.

Step 7: Enable Databases for Two-Phase Commit Processing

Start of instruction setto enable databases for two-phase commit processing

  1. Ensure that the parameter

    ADARUN DTP=RM

    is set in every database that participates in global transactions coordinated by Adabas Transaction Manager.

  2. Add the ATM load library to the LIBDEF SEARCH chain.

  3. Ensure that the JCL contains a specification for DDWORKR4, and that it identifies a suitable WORK dataset.

  4. Ensure that the WORK 4 dataset is allocated and formatted.

    The WORK 4 dataset should be allocated and formatted in the same way as the main WORK dataset. In the case of a Cluster Services or Parallel Services database, the WORK 4 dataset is shared by all members of the cluster.

    Important Note:

    For details about the WORK4 dataset, including information about sizing, please refer to the Adabas documentation, under Defining an Adabas Database, which is part of Database Maintenance Tasks in the section DBA Tasks.

Step 8: Prepare the Adabas System Coordinator Daemons

The ATM load library should be made available to all SYSCO daemons which will run under the same Adabas SVC as an ATM transaction manager.

Note:
An application job or TP system that requires ATM services must execute alongside an ATM transaction manager and a SYSCO daemon, executing in the same system and under the same Adabas SVC or ID table.

The SYSCO daemons must be started with the parameter setting PRODUCT=ATM.

Step 9: Make Adabas Transaction Manager Components Available

The ATM load library should be made available:

Ensure that the Adabas System Coordinator stub has been linked into the Adabas link modules that will be executed in each of the above environments.

The ATM load library and the Adabas System Coordinator library should be made available:

Note:
As in previous releases, there is a requirement to use an unmodified ADALNK in certain areas. With Version 8.1 this restriction has been reduced to unmodified ADALNK being needed only when running standalone Adabas utility jobs.

Step 10: Define Adabas Transaction Manager to MSHP CORRECT Facility

Corrections for Adabas Transaction Manager will be distributed as zaps that are to be applied using the MSHP CORRECT facility. Before applying corrections you must define Adabas Transaction Manager to MSHP with the MSHP ARCHIVE command (see the following sample job):

// JOB ARCHIVE
// OPTION LOG
// EXEC MSHP
ARCHIVE ATMvrs
COMPRISES 9001-ATM-00
RESOLVES ’SOFTWARE AG - ADABAS TRANSACTION MANAGER Vv.r’
ARCHIVE 9001-ATM-00-vrs
RESIDENCE PRODUCT=ATMvrs -
PRODUCTION=saglib.ATMvrs -
GENERATION=saglib.ATMvrs
/*
/&

Top of page