Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Chapter 3 Planning
Your Installation [Table of Contents] Chapter 5 Installing
CSP'S for Transaction Router Service

Installation and Administration Guide for Mainframe Connect for DB2 MVS-CICS

[-] Chapter 4 Installing the MainframeConnect for DB2/MVS-CICS Tape

Chapter 4

Installing the MainframeConnect for DB2/MVS-CICS Tape

This chapter contains instructions for installing the MainframeConnect for DB2/MVS-CICS tape.

Warning!

You must install the Open ServerConnect for CICS/MVS base tape before you install MainframeConnect for DB2/MVS-CICS. See the Installation and Administration Guide for Open ServerConnect for IBM CICS/MVS for instructions.

The sections in this chapter are:

Installation steps

A CICS system programmer, a DB2 database administrator, and a DirectConnect administrator are required to successfully install the MainframeConnect for DB2/MVS-CICS tape. Make sure that these persons are prepared to perform their respective tasks.

Please read through all of the following steps before beginning the installation. To help identify who is responsible for which steps, margin captions indicate the type of system programmer or administrator who performs them.

Post-Installation steps

After you install MainframeConnect for DB2/MVS-CICS, the DB2 data administrator should perform the post-installation tasks listed in this chapter. These tasks includes:

Authorizing users for the application plan

All users who will use MainframeConnect for DB2/MVS-CICS to access DB2 must be authorized to execute the DB2 application plan. This is the application plan you created containing all of your DB2 packages.

You can grant the privilege to all DB2 users or to specific users. To issue the GRANT statement, you can use either of the following forms:

GRANT EXECUTE ON PLAN planname TO userid
GRANT EXECUTE ON PLAN planname TO PUBLIC

where planname is the name of the DB2 application plan.

Authorizing users for DB2 packages

You must grant EXECUTE authority on the packages you created. Use one of the following forms:

GRANT EXECUTE ON PACKAGE AMD2.* TO userid
GRANT EXECUTE ON PACKAGE AMD2.AMD2DB2 TO userid
GRANT EXECUTE ON PACKAGE AMD2.* TO PUBLIC
GRANT EXECUTE ON PACKAGE AMD2.AMD2DB2 TO PUBLIC

Authorizing users for system tables

If the DirectConnect for MVS users need to access catalog information from system tables and you are using catalog stored procedures (CSPs), then you must authorize users to select from the following tables:

Some front-end applications access these system tables directly. See the application documentation for more information.

Additionally, all users accessing DB2 must be granted the appropriate authorizations on the tables they will use.

Verifying your installation

Before you configure MainframeConnect for DB2/MVS-CICS, verify that the link between MainframeConnect for DB2/MVS-CICS and DB2 is functioning correctly by accessing MainframeConnect for DB2/MVS-CICS. To do this, sign on to CICS, clear the screen, and enter:

AMD2

You should receive a message similar to the following:

MainframeConnect for DB2/MVS-CICS/12.0.0.0084
 DB2 test successful

If AMD2 cannot access DB2, a message appears showing the DB2 SQLCODE; for example:

MainframeConnect for DB2/MVS-CICS/12.0.0.0084
 DB2 Error was detected the SQL code is -805

See your DB2 manuals for definitions of SQL codes.

Contents of the MainframeConnect for DB2/MVS-CICS library

The tables in this section describe the contents of the libraries you load from the MainframeConnect for DB2/MVS-CICS tape. Step numbers that appear in parentheses indicate steps in this chapter in which members from a particular library are used.

COPY library

The COPY library contains the COBOL copybook.

COPY library

Member

Description

AMD2CCPX

COBOL copybook for the parse exit routine

CTRL library

The CTRL library contains macro definitions for files, transactions, programs, and plans for AMD2 to CICS. It also contains SPUFI input statements (step 4 in "Installation steps" and step 6 in "Installation steps" ).

CTRL library

Member

Description

AMD2HRCT

CICS macro definitions for the AMD2 plans (if you change the plan names, you must edit this member)

AMD2RDO

RDO definitions for CICS Version 4.x

CREATPKG

DB2 statement for creating a collection ID

HOSTLIB

Script for creating the host resident request library

SPPROC

Script for creating the sp_proc and sp_proc_columns tables for the corresponding CSPs

DBRM library

The DBRM library contains member AMD2DB2, which the job BINDPLAN in the JCL library binds into a package in DB2.

DBRM library

Member

Description

AMD2DB2

DBRMS for AMD2

JCL library

The JCL library contains JCL for performing various functions while installing the MainframeConnect for DB2/MVS-CICS tape (step 3 on "Installation steps" and steps 8, 9, and 10 in "Installation steps" ).

JCL library

Member

Description

AMD2CFG

JCL for defining the configuration file

AMD2CAMX

JCL to assemble the AMD2 message table

AMD2LOG

JCL to define the AMD2 log files

AMD2PXIT

JCL to compile and link AMD2CCPX, found in the SOURCE library

BINDPKG

JCL for binding packages

BINDPLAN

JCL for binding plans

CSDLOAD

JCL for loading the RDO definitions

TRSJCL

JCL for loading the TRS files from the tape

LOADLIB library

The LOADLIB library contains pregenerated tables and programs for error messages.

LOADLIB library

Member

Description

AMD2ACF2

ACF2 group ID support

AMD2CAMX

AMD2 message table

AMD2CFG

Configuration program

AMD2CHAB

Abend handler

AMD2CICS

AMD2 program

AMD2DSN

Error handler for AMD2

AMD2M01

AMCF configuration map

AMD2RACF

RACF group ID support

AMD2SPM

Map for SPTEST

AMD2SPT

SPTEST program for testing RSPs

AMD2TOP

Top Secret group ID support

MACLIB library

The MACLIB library contains macros for working with message text and SQL codes.

MACLIB library

Member

Description

EXITAREA

Macro for request and result exits

SYRTMAMT

AMD2 macro for message text

SYRTMAMX

AMD2 macro for message attributes and SQL codes

SOURCE library

The SOURCE library contains a sample COBOL program and the assembler source for the AMD2 message table (see step 11 in "Installation steps" ).

SOURCE library

Member

Description

AMD2CAMX

Assembler source for AMD2 message table

AMD2PXIT

Sample COBOL program using the AMD2 parse exit

What's next?

If you need to install the CSPs for use with TRS, proceed to Chapter 5, "Installing CSP'S for Transaction Router Service"

If you need to install the Japanese Conversion Module, proceed to the Installation and Administration Guide for Open ServerConnect for IBM CICS/MVS.

If you are ready to configure MainframeConnect for DB2/MVS-CICS, proceed to Chapter 6, "Configuring MainframeConnect for DB2/MVS-CICS"


Chapter 3 Planning
Your Installation [Table of Contents] Chapter 5 Installing
CSP'S for Transaction Router Service