Skip Headers
Oracle® Application Server CDC Adapters for DB2 User's Guide
10g Release 3 (10.1.3.4)

Part Number E13837-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

2 Installing Oracle Connect and Oracle Studio

This section describes how to install Oracle Connect and Oracle Studio.

Note:

In addition to the installation procedures described in this section, the J2CA 1.5 DB2 adapter must be installed with Oracle Application Server. Installing the J2CA 1.5 DB2 adapter is described in Oracle Application Server Adapter Installation Guide.

This section includes the following topics:

Preinstallation Tasks

Before installing OracleAS Adapter for DB2, ensure that your computer meets the following requirements:

z/OS Hardware and Software Requirements

This section describes the following requirements for installing Oracle Connect on a z/OS platform:

Hardware Requirements

The following table summarizes the hardware requirements for Oracle Connect.

Table 2-1 Oracle Connect Hardware Requirements

Hardware Component Requirements

Processor

An IBM zSeries computer.

Memory

The minimum requirement is 4MBfor each connection. A connection is defined as a connection to a server process or daemon. The actual memory requirement depends on such things as the size of the database and the number of databases accessed.

Disk Space (3380 and 3390 disks)

150 cylinders.


Software Requirements

The following table summarizes the software requirements for Oracle Connect:

Table 2-2 Oracle Connect Software Requirements

Software Component Requirements

Operating System

IBM z/OS

CICS TP Monitor (if accessing DB2 data under CICS)

V4R1 or higher (recommended to use CICS V6R1 or higher)

CICS EXCI support must be installed and IRCSTRT=YES must be specified in the CICS initialization parameters, so that the IRC (Inter Region Communication) starts.

You can also set the IRC to open by issuing the following command: CEMT SET IRC OPEN. Also the IBM group DFH$EXCI (or an equivalent user-defined group) must be installed in the CICS region: using the CEDA RDO facility.

TCP/IP

The operating system must support the TCP/IP protocol for using the Internet.

C Runtime Library

The C runtime library has all thestandard C runtime programs.

Oracle Application Server

Oracle Application Server 10g (10.1.3.4).


Windows Hardware and Software Requirements

This section describes the following requirements for installing Oracle Connect:

Hardware Requirements

The following table summarizes the hardware requirements for Oracle Connect.

Table 2-3 Oracle Connect Hardware Requirements for Windows

Hardware Component Requirements

Processor

An Intel or 100% compatible computer, based on a Pentium processor

Memory

256 MB of RAM

Disk Space

40 MB of free disk space


Software Requirements

The following table summarizes the software requirements for Oracle Connect.

Table 2-4 Oracle Connect Software Requirements for Windows

Software Component Requirements

Operating System

Microsoft 2000 with service pack 2 or higher, Microsoft Windows XP, or Microsoft Windows Server 2003.

Microsoft

Network transport protocol software, TCP/IP, included with Microsoft Windows.


UNIX Requirements

Oracle Connect can be installed on the following UNIX operating systems:

  • Red Hat Linux

  • Linux SUSE

  • HP-UX

  • IBM AIX

  • Sun Solaris

For all of the operating systems, the required disk space is 48MB.

Installing Oracle Connect on a z/OS Series Platform

This section explains how to install Oracle Connect. This section includes the following:

Note:

If you have an Oracle Connect back-end adapter already installed on the IBM z/OS platform, follow the instructions described in "Updating an Existing Oracle Connect Installation withDB2".

Installation Worksheet

Verify that you have all the information detailed in the following installation worksheets, so you can refer to it during the configuration process.

Table 2-5 Preinstallation Information

Topic Required Information Default Comment

General

Operating system

-

z/OS

-

Disk space

-

150 cylinders.

-

Memory

-

The minimum requirement is 4MBfor each connection. A connection is defined as a connection to a server process or daemon. The actual memory requirement depends on such things as the size of the database and the number of databases accessed.

-

Installation high-level qualifier

OCL10134

-

-

Volume

-

-

-

Unit

3390

SMS only: unit where SMS resides.

-

Output class

A

-

-

JCL job card

-

An optional card (up to 6 lines) to replace the prefix job (entered as it will appear in the job).

-

ISPF load library name

ISP.SISPLOAD

-

CICS

CICS EXCI load library name

CICS.CICS.SDFHEXCL

To access DB2 data under CICS.


Table 2-6 Required Permissions

Permission

Permission to define an APF-authorized library

Permission to write to an active proclib, such as user.proclib

Permission to read the CICS EXCI library (when accessing DB2 data under CICS)

Permission to update the security manager, such as RACF

Optionally, permission to specify an output class for Oracle Connect output


Table 2-7 Installation Checklist

Step Comment/Outputs

tso profile prefix

Ensures that the user name is not used as part of the dataset name allocated in the next steps.

Allocate dataset: {HLQ}.TRANSMIT.KIT

130 tracks (3390), format=FB, record length=80, block size=3120

Allocate dataset: {HLQ}.TRANSMIT.LOAD

500 tracks (3390), format=FB, record length=80, block size=3120

FTP files to z/OS

FTP using binary mode.

RECEIVE INDSNAME('{HLQ}.TRANSMIT.KIT')

-

da('{HLQ}.TRANSMIT.LIB') UNIT(unit) VOLUME(volume)

-

EX {HLQ}.TRANSMIT.LIB(PREPARE)

Successful MAXCC is 0, 4 or 8

BUILDKIT.SRC and BUILDKIT.LOAD created.

EX {HLQ}.BUILDKIT.SRC(NAVINST)

Successful MAXCC is 0 or 4.


Preinstallation Tasks

Before starting the installation, ensure that you have the following information available:

  • The output class for the installation output if you do not want to use the default value, which is A

  • The unit where SMS resides if you use SMS to manage all datasets. If you use SMS to manage all datasets, you cannot provide unit and volume information.

Before starting the installation, ensure that you have the following permissions:

  • Permission to define an APF-authorized library.

  • Permission to write to an active proclib, such as user.proclib.

  • Permission to read the CICS EXCI library, when accessing DB2 data under CICS.

  • Permission to update the security manager, such as RACF.

    Note:

    If necessary, ensure that you have permission to specify an output class for Oracle Connect output. Assigning a device which is set on HOLD prevents the loss of log information when Oracle Connect started tasks finish.

Oracle Connect for the IBM z/OS platform is contained in the following datasets:

  • OCL10134.TRANSMIT.KIT

  • OCL10134.TRANSMIT.LOAD

Importing the Installation Kit

Perform the following steps on the mainframe to import Oracle Connect installation kit to the mainframe:

  1. Run the following command:

    tso profile noprefix
    

    The user name will not be used as part of the dataset name. On some systems this is the default.

  2. Allocate datasets with the following space for each of these files:

    • OCL10134.TRANSMIT.KIT = 130 tracks (3380 and 3390 disks)

    • OCL10134.TRANSMIT.LOAD = 420 tracks (3380 and 3390 disks)

    For each dataset: RECFM=FB and LRECL=80. The block size is 3120.

Transferring the Kit to the Dataset

You need to move the contents of the kit to the mainframe computer in the dataset that you allocated. When you copy the contents of the kit, you will see that the contents are now utilized.

Perform the following steps to copy the Oracle Connect installation kit contents to the mainframe:

  1. Extract the compressed file to a folder on a computer running Microsoft Windows.

  2. Open the Command console on the Windows computer.

  3. Type FTP and the name of the mainframe computer where you want to connect. This creates an FTP connection to the mainframe machine. You may have to enter a user name and password to use the machine.

  4. Type bin to transfer binary data.

  5. Enter the following command to transfer the data from the .KIT file to the mainframe computer:

    put OCL10134.transmit.kit '[HLQ].transmit.kit' [replace]

    where:

    • OCL10134.transmit.kit is the name of your installation file.

    • (replace ensures that any data on the volume where the kit is installed is overwritten.

  6. Enter the following command to tranfer the data from the .LOAD file to the mainframe computer:

    put OCL10134.transmit.load '[HLQ].transmit.load' [replace]

  7. Close the FTP connection.

Installation Instructions

Perform the following steps to install Oracle Connect:

  1. Run the following command at the TSO prompt:

    RECEIVE INDSNAME('nnn.TRANSMIT.KIT')
    

    Where nnn represents the high-level qualifier you want to assign for the Oracle Connect installation. Assign the high-level qualifier you specified in step 7 of the preinstallation tasks. The default value is OCL10134.

    Note:

    You can use more than one high-level qualifier (such as ACME.DEV.OCL10134) with the following conditions:
    • The total length must be less than or equal to twenty characters.

    • The words transmit and buildkit cannot be used as high-level qualifiers.

  2. Enter the following command when prompted for the restore parameters:

    da('nnn.TRANSMIT.LIB') [UNIT(unit) VOLUME(volume)]
    

    This extracts the nnn.TRANSMIT.LIB library from the nnn.TRANSMIT.KIT kit to the specified unit and volume. If a unit and volume are not specified the library is extracted to the current unit and volume.

  3. In the Data Set List Utility screen, type the name of the high-level qulalifier on the Dsname Level line. This will return a list of the files. Verify that the <nnn>.TRANSMIT.LIB file was created.

  4. In the Command column next to the <nnn>.TRANSMIT>LIB, type M.

  5. Execute the PREPARE member of the nn.TRANSMIT.LIB library:

    ex PREPARE
    

    Follow the instructions in the Response column in the following table for each entry in the Screen column.

    Table 2-8 Installation Prepare Job Prompts and Responses

    Screen Response

    DO YOU WANT TO USE SMS MANAGED STORAGE FOR THIS INSTALLATION Y/N [N] :

    If you want to manage the storage using SMS, then answer Y, otherwise answer N.

    ENTER THE STORCLASS FOR INSTALLATION TEMP DATASETS [ ] :

    This prompt is displayed only if SMS is used to manage the installation (you answered Y to the first prompt).

    Enter the storage class.

    ENTER THE UNIT NAME FOR INSTALLATION TEMP DATASETS [3390] :

    If a storage class is not specified, then enter the unit name for temporary datasets used during the installation procedure.

    ENTER THE VOLUME NAME FOR INSTALLATION TEMP DATASETS :

    This prompt is displayed only if SMS is not used to manage the installation (you answered N to the first prompt).

    The volume name for temporary datasets used during the installation procedure.

    ENTER THE OUTPUT CLASS FOR INSTALLATION OUTPUT [A] :

    Enter the output class only if you do not want the default class used (the default is A)

    DO YOU WANT TO USE THE DEFAULT JOB CARD Y/N [Y]

    A job card is displayed. If you want to use a replacement card, then it must be entered as it will appear in the job. You can enter up to six lines. Enter a blank card to end input.

    If you do not enter a card, then the Oracle Connect default card is used.

    DO YOU WANT TO PERFORM A MANUAL (M) OR AUTOMATIC (A) INSTALLATION [A] :

    If you want to review the JCL used to install Oracle Connect, before it is submitted, then respond M for a manual installation.

    PLEASE REVIEW AND SUBMIT FOR EXECUTION THE HLQ.TRANSMIT.LIB(INSTJO)

    This prompt is displayed only if a manual installation is requested (you answered M to the previous prompt).


    The following libraries are generated:

    nnn.BUILDKIT.LOAD
    nnn.BUILDKIT.SRC
    nnn.BUILDKIT.GENDEMO
    

    Where nnn is the high-level qualifiers you assigned in step 0.

    Note:

    This command always finishes successfully. To make sure that no errors occurred, check the instjo JCL.
  6. In the nnn.BUILDKIT.SRC library, execute the NAVINST member:

    ex NAVINST
    

    Follow the instructions in the Response column in the following table for each entry in the Screen column.

    Table 2-9 Installation Prompts and Responses

    Screen Response

    DO YOU WANT TO USE SMS MANAGED STORAGE FOR THIS INSTALLATION Y/N [N] :

    If you want to manage the storage using SMS, then answer Y, otherwise answer N.

    THE SOFTWARE WILL BE INSTALLED UNDER THE HIGH LEVEL QUALIFIER THAT YOU WILL CHOOSE.

    ENTER THE HIGH LEVEL QUALIFIER ["QUALIFIER"] :

    The high-level qualifier for the installation (referred to as INSTROOT throughout this guide).

    You can use more than one high-level qualifier (such as ACME.DEV.VA10). The total length must be less than or equal to twenty characters. The qualifiers can be the same as the ones used for the installation (step 0).

    The words transmit and buildkit cannot be used as high-level qualifiers.

    ENTER THE STORCLASS FOR TEMP DATASETS ['STORCLASS'] :

    This prompt is displayed only if SMS is used to manage the installation (you answered Y to the first prompt).

    Enter the storage class.

    ENTER THE UNIT NAME FOR INSTALLATION TEMP DATASETS [3390] :

    The unit name for temporary datasets used during the installation procedure.

    ENTER THE VOLUME NAME FOR INSTALLATION TEMP DATASETS :

    This prompt is displayed only if SMS is not used to manage the installation (you answered N to the first prompt).

    The volume name for temporary datasets used during the installation procedure.

    PLEASE CONFIRM (YES/NO/QUIT) [YES] :

    Confirm the entered details.

    ENTER THE OUTPUT CLASS FOR INSTALLATION OUTPUT [A] :

    Enter the output class for Oracle Connect output. Assigning a device which is set on HOLD prevents the loss of log information when the Oracle Connect started tasks finish (the default is A).

    DO YOU WANT TO USE THE DEFAULT JOB CARD Y/N [Y]

    A job card is displayed. If you want to use a replacement card, then it must be entered as it will appear in the job. You can enter up to six lines. Enter a blank card to end input.

    If you do not enter a card, then the Oracle Connect default card is used.

    ADDING AND UPDATING ORACLE CONNECT FOR DB2 CONFIGURATION ON THIS MACHINE, FROM A REMOTE ORACLE ADMINISTRATION CONSOLE, CAN ONLY BE DONE BY SOMEONE DEFINED AS AN ADMINISTRATOR FOR ORACLE CONNECT ON THIS MACHINE.

    ENTER A VALID USER NAME FOR AN ORACLE CONNECT ADMINISTRATOR [ALL]:

    To manage Oracle Connect on this computer from Oracle Studio, you need to enter a user account of a user who will have administrative authorization, or press Enter to enable any user to administer Oracle Connect on this computer. The administrative rights can be changed from within Oracle Studio after the installation.

    DO YOU WANT TO PERFORM A MANUAL (M) OR AUTOMATIC (A) INSTALLATION [A]:

    If you want to review the JCL used to install Oracle Connect, before it is submitted, then respond M for a manual installation.

    PLEASE REVIEW AND SUBMIT FOR EXECUTION THE DSN1 (INSTJBOR)

    This prompt is displayed only if a manual installation is requested (you answered M to the previous prompt).

    DSN1 is the dataset name where INSTJBOR is located.


The installation is completed. All JCL jobs and REXX procedures are written to the INSTROOT.USERLIB library. INSTROOT is the high-level qualifier for the installation.

Data Source Configuration Instructions

In the nnn.BUILDKIT.SRC library, execute the DB2 member:

ex DB2

Follow the instructions in the Response column for each entry in the Screen column.

Table 2-10 DB2Adapter Installation Prompts and Responses

Screen Response

ENTER THE DB2 HLQ

Enter the HLQ where DB2 is installed.

ENTER THE DB2 SUBSYSTEM NAME

Enter the IDB2 subsystem.

THE DATABASE DB2 RESIDES ON THIS MACHINE

THE DB2 SUBSYSTEM NAME IS:

PLEASE CONFIRM (YES/NO/QUIT):YES:

This is a summary of the DB2 questions. Check the summary to be sure all is correct.

  • Yes, to use the DB2 database as configured

  • No, to not use the DB2 database

  • Quit, to leave the DB2 process


Post-Installation Instructions

The following post-installation tasks must be done to work with Oracle Connect:

Copy and Install Programs into CICS

You must copy and install some supporting programs when you use a CICS session.

The following describes the steps necessary to copy and install these programs under CICS.

  1. In the Data Set List Utility screen, type the name of the <HLQ> on the Dsname Level line. This will return a list of the files.

  2. In the Command column next to the <HLQ>.LOAD, type M.

  3. Type C next to following programs you are using. The available programs are listed below:

    • ATTHRDPL: Use this program when working under CICS. This is the CICS queue.

    • ATTCISD: Use this program when working under CICS.

    • ATTHRDPL: Use this program when working under CICS if you are using connection pooling.

    • ATTCALL: Use this program when working under CICS if you are using connection pooling.

    • ATTCNTRL: Use this program when working under CICS if you are using connection pooling.

    • TRANS3GL: Use this program if you are using the 3GL interface. This is an example program.

  4. Exit the session, then start a new session.

  5. Enter a new CICS session.

  6. At the code line, run the following:

    CEDA INS PROG(<PROG NAME>) G(ATY)
    

    The <PROG NAME> is on one of the programs listed in step 3. Run this for each of the programs you are using.

Post-installation Procedures

Perform the following procedures after completing the installation to configure Oracle Connect.

  • Allocate a dataset for INSTROOT.DEF.BRANDBIN, using 1 track and with RECFM=VB and LRECL=256. The block size is 6233.

    INSTROOT is the high-level qualifier where Oracle Connect is installed.

    Using FTP, copy the BRANDBIN file, in binary mode, from the Oracle Connect\DB2/DB Legacy Adapter directory to the mainframe, to INSTROOT.DEF.BRANDBIN.

  • Define the LOADAUT library as an APF-authorized library

    Note:

    To define a DSN as APF-authorized, in the SDSF screen enter the command:
    "/setprog apf,add,dsn=INSTROOT.loadaut,volume=vol002"
    

    where vol002 is the volume where you installed Oracle Connect and INSTROOT is the high-level qualifier where Oracle Connect is installed.

    If the site uses SMS, then when defining APF-authorization in the SDSF screen, enter the following command:

    "/setprog apf,add,dsn=INSTROOT.loadaut,SMS"
    

    Ensure that the library is APF-authorized, even after an IPL (reboot) of the computer.

  • Move the INSTROOT.USERLIB(ATTDAEMN) and INSTROOT.USERLIB(ATTSRVR) members to any active proclib, such as user.proclib, ATTDAEMN and ATTSRVR are run as started tasks.

    If you decide to change the name of the ATTSRVR member when you move it to a general high-level qualifier, then change the name specified in the StartupScript parameter in the daemon configuration to the new name:

    • Run INSTROOT.USERLIB(NAVCMD) and enter EDIT DAEMON IRPCDINI at the prompt.

    • Change the startupScript parameter from ATTSRVR to the new name for the server:

      <Workspace name="Navigator"
                 startupScript="NEW_NAME"
                 serverMode="reusable"
                 ... />
      
    • Exit and save the change.

  • Change the following line in the ATTDAEMN script to include the IP address and port of the z/OS platform.

    For example, before:

    // PARM='-B START IRPCDINI'
    

    After:

    // PARM='-B -L ip_address:2551 START IRPCDINI'
    

    Where ip_address specifies the IP address of the computer, 2551 is the default port for starting the daemon and IRPCDINI is the default daemon configuration.

  • The ATTDAEMN and ATTSRVR started tasks need permission to use an Open Edition TCP/IP stack. The owner must be a user with OMVS segment defined and OMVS UID= 0000000000.

  • In the security manager, such as RACF, define ATTDAEMN and ATTSRVR with a started task class and a general profile that enables the following:

    • Permission to issue master console commands.

    • START authority for the ATTSRVR job.

    • Access to an Open z/OS segment (that defines access to TCP/IP OA sockets).

    • ALTER authority on datasets under INSTROOT (to access to read, write, allocate and delete datasets under INSTROOT).

  • The installation includes a PS, INSTROOT.DEF.GBLPARMS, that contains global environment information. This PS is read at startup and the correct software version is used, based on the details provided in the startup task.

    If you change the location of this member, you must also change the relevant cards in the following jobs to the new locations:

    • ATTSRVR: located in an active proclib, such as user.proclib

    • ATTDAEMN: located in an active proclib, such as user.proclib

    • NAVSQL: located in INSTROOT.USERLIB

  • The input during the installation procedure is written to nnn.BUILDKIT.SRC(PARS). You can use this file to provide the same inputs if you rerun the installation, where nnn is the high-level qualifier you assign for the installation.

  • For information about specifying Oracle Connect as the service using port 2551 in the TCP/IP network services file, consult TCP/IP documentation.

Starting the Daemon

Activate INSTROOT.USERLIB(ATTDAEMN) as a started task to invoke the daemon. For example, in the SDSF screen enter the following:

'/s ATTDAEMN'

Where INSTROOT is the high-level qualifier where Oracle Connect is installed.

To submit the daemon as a job, uncomment the first two lines of the ATTDAEMN JCL, change the PARM line as described earlier, and run the job using the subcommand. The ATTDAEMN JCL is similar to the following:

//*ATTDAEMN JOB 'RR','TTT',MSGLEVEL=(1,1),CLASS=A,
//* MSGCLASS=A,NOTIFY=&SYSUID,REGION=8M
//STEP1 EXEC PGM=IRPCD,
// PARM='-B  START IRPCDINI'
//* PARM='-B -L :8883 START'
//STEPLIB DD DSN=INSTROOT.LOADAUT,DISP=SHR
//SYSPRINT DD SYSOUT=A
//GBLPARMS DD DSN=INSTROOT.DEF.GBLPARMS,DISP=SHR
// EXEC PGM=IRPCD,COND=((1,EQ,STEP1),(2,EQ,STEP1)),
// PARM='-KATTDAEMN START ''INSTROOT.DEF.IRPCDINI'''
//STEPLIB DD DSN=INSTROOT.LOADAUT,DISP=SHR
//SYSPRINT DD SYSOUT=A
//GBLPARMS DD DSN=INSTROOT.DEF.GBLPARMS,DISP=SHR
//SYSDUMP DD DUMMY

Setting Up Oracle Connect for Reentrancy

All Oracle Connect load modules are reentrant to enable sub-tasking. Therefore, move INSTROOT.LOAD to the Link Pack Area (LPA).

Where INSTROOT is the high-level qualifier where Oracle Connect is installed.

Using the LPA reduces real storage usage (because everyone shares the LPA copy) and fetch time.

Note:

If you intend on using impersonation, so that you can run in a security context that is different than the context of the process that owns the server, then do the following:
  • Place the INSTROOT.LOAD(ATYSVCW) member in an APF-authorized library outside the LPA.

  • Change the ATTSRVR member (located in the active proclib), by adding the following to the STEPLIB list:

// DD DSN=apf_library,DISP=SHR

Where apf_library is the APF-authorized library outside the LPA where the ATYSCVW member was moved.

Setting up Oracle Connect to Access DB2CLI

In order to access DB2 CLI, you must have DB2 CLI installed on the machine. For details of DB2 CLI, refer to the IBM Call Level Interface Guide and Reference.

The Oracle Connect DB2 CLI driver uses an ODBCINI file. During installation of Oracle Connect, an ODBCINI file is defined as a member in NAVROOT.USERLIB.

The ODBCINI file is similar to the following:

; This is a comment line...; Example COMMON odbcini [COMMON]MVSDEFAULTSSID=DSN1; Example SUBSYSTEM odbcini for DSN1 subsystem [DSN1]MVSATTACHTYPE=CAFPLANNAME=DSNACLI

The PLANNAME value is the default DB2 Calling Level Interface (CLI) plan name. If a different plan is used, change the name to the correct plan.

Note:

In the example, CAF is used, so only one-phase commit transactions are supported. Oracle Connect also supports two-phase commit transactions, by setting the MVSATTACHTYPE parameter to RRSAF.

You can specify other parameters in the ODBCINI file, as described in the IBM ODBC Guide and Reference.

Note:

The AUTOCOMMIT initialization parameter is set automatically by Oracle Connect at runtime, and thus should not be set in the ODBCINI file.

You must bind to the plan specified in the PLANNAME parameter. The bind to the plan, check that the job DSNxxx.SDSNSAMP(DSNTIJCL) includes the following line:

BIND PLAN(DSNACLI)

Where DSNxxx is the DB2 high-level qualifier (the default is DSN610) and DSNACLI is the plan name specified for the PLANNAME parameter.

Oracle Connect and DB2 Security

All the libraries in the STEPLIB must be APF-authorized. Grant DB2 DISPLAY GROUP authorization to the ATTSRVR started task. Issue the following commands to the owner of the ATTSRVR started task:

GRANT TRACE(STAT)

GRANT TRACE(MON)

GRANT MONITOR2

The owner of the ATTSRVR strarted task must have privileges in DB2 to run offline.

Issue the following command:

-start trace(stat)

Updating an Existing Oracle Connect Installation withDB2

Verify that you have all the information detailed in the following installation worksheets, so you can refer to it during the configuration process.

Table 2-11 Preinstallation Information

Topic Required Information Default Comment

CICS

CICS EXCI load library name

CICS.CICS.SDFHEXCL

-


Table 2-12 Required Permissions

Permission

Permission to read the CICS EXCI library


In the nnn.BUILDKIT.SRC library, execute the DB2 member:

ex DB2

Follow the instructions in the Response column for each entry in the Screen column.

Table 2-13 DB2Adapter Installation Prompts and Responses

Screen Response

ENTER THE DB2 HLQ

Enter the HLQ where DB2 is installed.

ENTER THE DB2 SUBSYSTEM NAME

Enter the IDB2 subsystem.

THE DATABASE DB2 RESIDES ON THIS MACHINE

THE DB2 SUBSYSTEM NAME IS:

PLEASE CONFIRM (YES/NO/QUIT):YES:

This is a summary of the DB2 questions. Check the summary to be sure all is correct.

  • Yes, to use the DB2 database as configured

  • No, to not use the DB2 database

  • Quit, to leave the DB2 process


The installation is completed. All JCL jobs and REXX procedures are written to the INSTROOT.USERLIB library. INSTROOT is the high-level qualifier for the installation.

After completing the installation, perform post-installation tasks, as described in "Post-Installation Instructions", as required.

Installing Oracle Connect on UNIX

You must install Oracle connect on any UNIX machine that you are using for a staging area for the CDC adapter. The following sections explain how to install Oracle Connect on a UNIX machine.

Installing Oracle Connect on a UNIX Platform

This section explains how to install Oracle Connect on a UNIX platform. This section includes the following:

Preinstallation Tasks

Before starting the installation procedure, ensure that you have the following information is available:

  • The root directory where you want to install Oracle Connect.

    Notes:

    The root directory cannot be a system root directory, /var or /tmp.
  • The account name where Oracle Connect will run.

  • Whether the installation source media is removable media or a disk archive file.

    If you are installing from the removable media that is not a default device in the system, you need to know the media device name (such as /dev/rmt/0m). See the operating system manuals or ask the system administrator to find out the device name for the site.

    If you are installing from the disk archive file, you need to know the name of the Oracle Connect disk archive file (such as /tmp/nav.2.0.tar).

  • The shell being used: C-shell Korn,-shell, or Bourne-shell. The installation creates a startup file according to the indicated shell.

When running the installation below, use the following as the <filename>:

  • For RedHat Linux: OCL10134-linuxrh.tar.Z

  • For Linux Suse: OCL10134-linuxsuse.tar.Z

  • For HP-UX: OCL10134-hpux.tar.Z

  • For IBM AIX: OCL10134-ibmaix.tar.Z

  • For Solaris Operating System (SPARC): OCL10134-sunsol2.8.tar.Z

Installing Oracle Connect

Perform the following steps to install Oracle Connect:

  1. Transver the tar.Z file to th esystem.

  2. Decompress the file using the following command:

    uncompress <filename>
    
  3. Run the tar command, as shown in the following example:

    tar xvf <filename> nav_install
    

    The following message is displayed:

    x nav_install, nnnn bytes, mmmm tape blocks
    

Note:

Ensure that the directory used to run the installation files has WRITE privileges.

Installation Tasks

Perform the following steps to install Oracle Connect:

  1. Run the following command:

    ./nav_install
    

    This command initiates the installation procedure. The installation procedure is displayed in a series of screen prompts and responses.

  2. Enter the full path of the disk archive (.tar) file, and press Enter.

  3. Enter the root directory name for the installation, and press Enter. You must have a WRITE permission for this directory. The default directory is the users home directory.

    Notes:

    • The root directory cannot be a system root directory or /var or /tmp directory.

    • Oracle Connect is installed into a fixed directory named navroot.

  4. Confirm the directory name in which Oracle Connect will be installed, and press Enter.

  5. Enter the account name where you want Oracle Connect to run, and press Enter. This account name will be used for anonymous access to the server by clients. It can be changed after the installation is complete.

  6. Confirm the account name, and press Enter.

  7. Specify the required shell, under which Oracle Connect should run, and press Enter. The following options are displayed:

    • C-shell (/bin/csh).

    • Korn-shell (/bin/ksh)

    • Bourne-shell (/bin/sh)

  8. Enter the account name for a user with administrative authorization. Optionally, press Enter to enable any user to administer Oracle Connect.

Post-Installation Tasks

After installing Oracle Connect, perform the following post-installation tasks:

Configuring the Oracle Connect Environment

When Oracle Connect is installed on a UNIX platform, using FTP, copy the brand.bin file to the Oracle Connect computer, to NAVROOT/bin.

Where NAVROOT is the directory where Oracle Connect is installed.

Configuring the Oracle Connect Script

The program that manages Oracle Connect server processes (nav_server) is accessed by a symbolic link to a file for the C-shell, Bourne and Korn shells.

To set up nav_server, perform the following steps:

  1. In the bin directory, under the directory where Oracle Connect is installed, delete the existing link to nav_server using the following command:

    rm nav_server
    
  2. In the bin directory, under the directory where Oracle Connect is installed, link to the required version of nav_server as follows:

    • C-shell: ln -s nav_server.csh nav_server

    • Bourne: ln -s nav_server.sh nav_server

    • Korn: ln -s nav_server.ksh nav_server

    Note:

    Instead of renaming files, use a symbolic link.

The Oracle Connect nav_login procedure defines the default environment when Oracle Connect runs. If you want site-dependent variables to be included in the environment, create a file called site_nav_login and save this file in the bin directory under the Oracle Connect root directory. nav_login runs site_nav_login automatically.

nav_login must be invoked to run Oracle Connect. It can be invoked from the user login script.

The command line for invoking nav_login varies according to the shell the user is running. The following table lists the different options for invoking the command line:

Shell nav_login Command
CSH
source root/bin/nav_login
Bourne
. root/bin/nav_login.sh
Korn
. root/bin/nav_login.sh

In the nav_login command, root represents the root directory of the Oracle Connect installation. After running the login procedure, the environment variable NAVROOT points to this root directory.

Ensure that users have READ and EXECUTE permissions on the Server files. Use the chmod command to change the permissions.

Starting the Oracle Connect Daemon

The Oracle Connect daemon must run on a server for client/server access to Oracle Connect. To start the daemon with the system startup, add the following command invoking the daemon to the end of the /etc/inittab file:

nv:3:once:navroot/bin/irpcd -l ip:2551 start >/dev/console 2>&1

In this command, the symbol navroot should be replaced with the directory where Oracle Connect is installed and ip replaced by the ip address of the computer.

Note:

To allow automatic client/server access to Oracle Connect, start the daemon at system startup time from a super user account.

Installing Oracle Connect on Windows

You must install Oracle connect on any Windows machine that you are using for a staging area for the CDC adapter. This following sections explain how to install Oracle Connect on a Windows machine.

Installing Oracle Connect on a Windows Platform

This section explains how to install Oracle Connect. Do the following to install Oracle Connect.

Note:

If you are upgrading from version 10.1.3.3, you must use the upgrade option in the installation wizard. Do not uninstall Version 10.1.3.3 and then install the newer version. If you do this, you will lose all data in the Def directory.
  1. Copy the following installation files into a folder on the Windows computer where you are installing Oracle Connect.

    • OCL_10134_windows.exe

    • brand.bin

  2. Open the Windows command line interface.

  3. Change to the directory where you installed the installation files.

  4. Type the following at the command prompt to install Oracle Connect.

    "OCL_10134_windows.exe" -a -bBRAND=".\brand.bin" -bSERVER
    

    The install wizard opens. Follow the directions in the insallation wizard to complete the installation.

Note:

If you are installing Oracle Connect on a Windows XP computer, you cannot use a logical drive as the destination folder for the installation.

Installing Oracle Studio

This following sections explain how to install Oracle Studio.

Note:

If you have Oracle Studio version 10.1.3.4 or higher installed on your computer because you are using an OracleAS legacy adapter or OracleAS CDC adapter , you do not need to reinstall it. If you have an older version of Oracle Studio, you must install the newest version.

Oracle Studio Requirements

The following are the hardware requirements for Oracle Studio:

  • Processor: Intel or 100% compatible computer, based on a Pentium processor

  • Memory: 256 MB

  • Disk space: 120 MB of free disk space

You can install Oracle Studio on the following operating systems:

  • Windows XP with Service Pack 2 or higher

    Windows 2003

    Windows Vista

  • Linux OS with GTK

Installing Oracle Studio on Windows

Oracle Studio is installed with a standard install wizard. Do the following to install Oracle Studio.

  • Run the installation file, either using the Run option in the Windows Start menu or through Windows Explorer. Follow the instructions on the wizard screen.

Installing Oracle Studio on Linux

The Oracle Studio installation on Linux can be caried out by one of the following:

Installing Oracle Studio with the Wizard (SH installation)

You can install Oracle Studio by using the installation wizard. This allows you to easily carry out any standard or custom installation. Do the following for the Linux SH installation.

  1. Install into a directory where you have permission.

  2. Change the mode to execute mode. Type in:

    Chmod +x <file name>
    
  3. Enter the following:

    ./ <file name>
    

    If you are not installing to the current directory, enter the full path.

Installing with a Silent Installation (RPM)

You can use the Linux RPM method to install Oracle Studio. Do the following to carry out a silent installation on Linux.

  • Enter the following:

    rpm -i <file name>
    

    You can use RPM parameters to create a custom inslallation.