PK
5&Aoa«, mimetypeapplication/epub+zipPK 5&A iTunesMetadata.plistū
The following sections detail how to configure the OLTP.
If your communications protocol is SNA: proceed to Section 7.1, "Configuring the OLTP for Your SNA Environment".
If your communications protocol is TCP/IP: proceed to Section 7.2, "Configuring the OLTP for Your TCP/IP Environment".
Note: On a gateway using TCP/IP support for IMS Connect, you must specifyEDIT=ULC in the IMS TRANSACT macro if you need input case sensitivity. When using SNA support, you need not specify EDIT=ULC in the IMS TRANSACT macro. |
The steps for configuring your OLTP to communicate with the Oracle Database Gateway for APPC vary, depending on which OLTP you are using and on which platform the OLTP is running. CICS Transaction Server for z/OS, IMS/TM, APPC/MVS, and z/OS are the currently supported OLTPs. Choose the instructions suitable to your OLTP from the following sections:
Note: You need only perform the configuration steps for an OLTP if this is a first-time configuration for that OLTP. |
Configuring CICS Transaction Server for z/OS
If your OLTP is CICS Transaction Server for z/OS, then perform the following steps to configure it for communication with the gateway:
Configure MVS VTAM for the SNA Server that will make the APPC connection to your system. At least one independent LU must be available to the gateway.
Check the VTAM logmode table used by the CICS Transaction Server for z/OS. (The table name is specified in the MODETAB
parameter in the VTAM APPL definition for CICS.) Ensure that an entry exists for APPC sessions with parallel session and sync-level support.
The oraplu62.asm
file in the %ORACLE_HOME%\dg4appc\sna
directory contains a sample mode entry, including comments that indicate the required values in the mode entry.
Using your file transfer facility, transfer the following files from the %ORACLE_HOME%\dg4appc\demo\CICS
directory to the z/OS system on which you run CICS Transaction Server for z/OS:
Using the comments in the dfhcsdup.jcl
file, tailor the JCL and input statements to match your system setup, and submit it for batch execution. Performing this step updates your Transaction Server for z/OS system definitions.
Using the instructions in the pgaflip.jcl
file comments, tailor the JCL to match your system setup, and submit it for batch execution. Performing this step assembles and linkedits the pgaflip.asm
file into a load module library accessible to your Transaction Server for z/OS through the DFHRPL
DD statement in the CICS startup procedure.
Log on to your CICS Transaction Server for z/OS and enter the following transaction:
CEDA INSTALL GROUP(ORAPGA)
This transaction installs the CICS connection and session definitions for APPC communication with the gateway on Windows. It also installs definitions for the sample CICS programs and transactions provided with the gateway.
Your CICS Transaction Server for z/OS configuration is now complete.
If your OLTP is IMS/TM, then perform the following steps to configure IMS/TM and z/OS for communication with the gateway:
Configure the IMS system for use with APPC.
Configure MVS VTAM for the SNA APPC connection to Windows. At least one independent LU must be available for use by the gateway, unless you are using the IMS LU6.1 Adapter for LU6.2 applications. In this case, you must have one dependent LU defined for each concurrent session. For example, if you want to support 10 concurrent sessions, then you must have 10 dependent LUs defined.
Check the VTAM logmode table used by IMS/TM. The table name is specified by the MODETAB
parameter in the VTAM APPL definition.
For APPC/IMS, ensure that an entry exists for APPC sessions with sync-level support and parallel session support. The oralu62.asm
and oraplu62.asm
files in the %ORACLE_HOME%\dg4appc\sna
directory contain sample mode entries for single session and parallel session support, respectively. The samples include comments that indicate the required values in the mode entries.
Using your file transfer facility, transfer the following files from the %ORACLE_HOME%\dg4appc\demo\IMS
directory to the z/OS system on which you run IMS/TM:
Add the statements in the imsgen.asm
file to your IMS stageĀ 1 gen and run your IMS stageĀ 1 and stageĀ 2 gens. Use the online change utility to enable the new transaction definition.
Using the comments in the pgaflip.jcl
file, tailor the JCL to match your system setup and submit it for batch execution. This assembles and linkedits the pgaflip.asm
file into a load module library that is accessible to your IMS/TM system and creates a PSB and an ACB for the FLIP
transaction.
Perform the tasks necessary on your system to make the new transaction available to IMS/TM. Depending on your system setup, you might have to restart IMS.
The IMS/TM configuration is now complete.
If your OLTP is APPC/MVS, then perform the following steps to configure APPC/MVS for communication with the gateway:
Configure MVS VTAM for the SNA APPC connection to Windows. At least one independent LU must be available for use by the gateway.
Check the VTAM logmode table used by APPC/MVS. (The table name is specified by the MODETAB
parameter in the VTAM APPL definition for APPC/MVS.) Ensure that an entry exists for APPC sessions with SYNCLEVEL
and parallel session support. The oraplu62.asm
file in the %ORACLE_HOME%\dg4appc\sna
directory contains a sample mode entry, including comments that indicate the required values in the mode entry.
Allocate a partitioned dataset (PDS) on your z/OS system where the sample files are placed. The PDS should be allocated with RECFM=FB
, LRECL=80
, and a BLKSIZE
suitable for the device type on which it resides. Approximately two tracks of 3390
Ā disk space are required with one directory block. Oracle suggests naming this partitioned dataset (PDS) ORAPGA.APPCMVS.SAMPLIB
.
Using the file transfer facility, transfer the following files from the %ORACLE_HOME%\dg4appc\demo\MVS
directory to the z/OS PDS you allocated in the previous step, using the following specified member names:
pgaflip.jcl
is JCL to add an APPC/MVS TP profile and to define the execution environment for the transaction. Store this file in your z/OS PDS as member PGAFLIPJ
.
pgaflip.rex
is the REXX source for the APPC/MVS PGAFLIP
transaction. Store this file in your z/OS PDS as member PGAFLIP
.
Using the comments in the pgaflip.jcl
file, tailor the JCL to match your system setup and submit it for batch execution. Performing this step defines the APPC/MVS TP profile for the PGAFLIP
transaction and stores it in the APPC/MVS profile dataset. Ensure that you change the dataset name in the JCL to match the name of the z/OS PDS allocated in StepĀ 3.
The APPC/MVS configuration is now complete.
Now that you have completed configuration of the network on a gateway using the SNA protocol, proceed to Chapter 8, "Gateway Configuration Using SNA Communication Protocol".
If you wish to configure commit-confirm, then instructions for this configuration can be found in Section 8.8, "Configuring Commit-Confirm".
These are the steps for configuring the OLTP to communicate with Oracle Database Gateway for APPC using TCP/IP for IMS Connect. IMS/TM, through IMS Connect, is the only supported OLTP for this release of the gateway.
Perform the following steps to configure IMS/TM and z/OS for communication with the gateway:
Configure the IMS system.
Configure IMS Connect.
For information on how to configure IMS Connect, refer to the IBM IMS Connect Guide and Reference.
Using your file transfer facility, transfer the following files from the %ORACLE_HOME%\dg4appc\demo\IMS
directory to the z/OS system on which you run IMS/TM:
Add the statements in the imsgen.asm
file to the IMS stageĀ 1 gen and run your IMS stageĀ 1 and stageĀ 2 gens. Use the online change utility to enable the new transaction definition.
Using the comments in the pgaflip.jcl
file, tailor the JCL to match your system setup and submit it for batch execution. This assembles and linkedits the pgaflip.asm file into a load module library that is accessible to your IMS/TM system and creates a PSB and an ACB for the FLIP
transaction.
Perform the tasks necessary on your system to make the new transaction available to IMS/TM. Depending on your system setup, you might have to restart IMS.
The IMS/TM configuration is now complete.
At this point, proceed to Chapter 9, "Gateway Configuration Using TCP/IP Communication Protocol" to complete configuration of the gateway and its components.
This chapter describes the system requirements of the gateway. It contains the following sections:
The hardware requirements for this release of the gateway on Microsoft Windows are described in the following sections.
Refer to the Oracle Database Installation Guide for Microsoft Windows for Microsoft Windows and to the certification matrix on My Oracle Support for the most up-to-date list of certified hardware platforms and operating system version requirements to operate the gateway for your system. The My Oracle Support Web site can be found at:
The Oracle Database Gateway for APPC requires an Intel or 100% compatible personal computer based on a Pentium processor that can run Microsoft Windows 2000 and higher.
For most installations, Oracle recommends a minimum of 256 MB of real memory for the system running the Oracle Database Gateway for APPC.
Each concurrent use of the gateway requires a minimum of 10 MB.
The following factors affect the virtual memory requirements of the gateway server process:
number of concurrent gateway connections opened by each user;
number of data items being transferred between the gateway and the RTP;
additional factors such as configured network buffer size;
the Oracle Net protocol adapters that were included during the gateway installation.
The gateway requires any network attachment supported by either the SNA Server for your platform or the TCP/IP Networking Facility for TCP/IP communication.
However, if you are using solely the new TCP/IP support for IMS Connect feature, you will not need an SNA package. The Windows operating system comes with TCP/IP installed, you will need to configure it.
The system software configuration described in these requirements is supported by Oracle, provided that the underlying system software products are supported by their respective vendors. Verify the latest support status with your system software vendors.
Refer to the Oracle Database Installation Guide for Microsoft Windows and to the certification matrix on My Oracle Support for the most up-to-date list of certified operating system version requirements to operate the gateway for your Windows Intel system. The My Oracle Support Web site can be found at:
A Microsoft Host Integration Server 2000 is required, or IBM Communication Server V6.1.1 (or higher) for Windows. In this document, either of these communications servers will be referred to generically as SNA Server.
Note: If you choose to use TCP/IP support for IMS Connect as your communications protocol, then you will not need to use an SNA Server. Your operating system comes with a TCP/IP protocol automatically installed. If you choose to use the TCP/IP protocol, you will need to configure it to work properly with the gateway then instructions for doing so are located in Chapter 9, "Gateway Configuration Using TCP/IP Communication Protocol". |
The Microsoft Windows platform requires that the Oracle database which is to act as the Oracle database be up to date with the latest patch set for supported Oracle database releases.
Oracle Net is automatically installed on the system where the Oracle database is installed and on the system where the gateway is installed. Refer to Chapter 5, "Configuring Your Oracle Network" in this guide for configuration information. Additionally, you may refer to the Oracle Database Net Services Administrator's Guide.
In addition to the other software requirements of the gateway and your particular platform, the following list outlines other requirements necessary on the IBM mainframe:
OLTP for SNA
The OLTP must support mapped APPC conversations. If the OLTP transaction programs to be executed through the gateway perform database updates, then the APPC verbs CONFIRM
, CONFIRMED
, and SEND_ERR
must be supported by the OLTP. These verbs implement APPC SYNCLEVELĀ 1
.
All resources controlled by an OLTP that can be updated by transaction programs invoked through the gateway must be defined as recoverable resources to the OLTP and host system if COMMIT
/ROLLBACK
capability is required for those resources. For example, a VSAM file updated by a CICS transaction must be defined to CICS as a recoverable file for COMMIT
/ROLLBACK
to control the updates.
The gateway is compatible with all supported releases of SNA-enabled products such as CICS, IMS/TM, and z/OS.
Important: For a list of known restrictions, read the "Known Restrictions" section before proceeding with installation of the gateway.
IMS/TM: Release 7.1 or later is required, as well as any APARs (patches) listed in the IBM IMS Connect Guide and Reference.
The gateway architecture involves multiple systems, database servers, and communications facilities, each having distinct security capabilities and limitations. To effectively plan and implement your security scheme, you must understand these capabilities and limitations, in addition to knowing your installation's security requirements.
Read this chapter to learn about the capabilities and limitations of the Oracle Database Gateway for APPC. This chapter contains the following sections:
Before implementing the security scheme, you must understand the existing security requirements and expectations in the environment. Because you are enabling application access to different databases on different systems, you must merge multiple security cultures. When developing your security scheme, the most stringent security requirements prevail. When you connect different systems into an operating whole, the system with the strictest security requirements generally dictates what the other systems can and cannot do.
Gateway security includes two main concerns:
users and applications that are permitted access to a particular gateway instance and OLTP
OLTP transactions that users and applications are able to execute
You can control access at several points in the gateway architecture. The primary options are discussed in the following sections. Control over remote transaction program (RTP) access is provided by each OLTP with native authorization mechanisms based on userĀ ID. These facilities are described in the product documentation for your OLTP. Information in this chapter includes how the gateway facilities determine the userĀ ID that is in effect for a particular OLTP connection.
When the gateway is involved in an RPC request, security mechanisms are in effect for each system component encountered by the gateway. The first system component that is encountered is the application tool or 3GL program. The last system component that is encountered is the OLTP.
Each of the following sections identifies the component and the type of security processing that is available in that component. Each section offers a summary of key features and parameters. Refer to product-specific documentation for detailed information about the non-gateway components for Oracle and non-Oracle products.
An application must connect to an Oracle database before using that gateway. The type of logon authentication that you use determines the resulting Oracle userĀ ID and can affect gateway operation.
Two basic types of authentication are available:
With Oracle authentication, each Oracle userĀ ID has an associated password that is known to Oracle. When an application connects to the server, it supplies a userĀ ID and password. Oracle confirms that the userĀ ID exists and that the password matches the one stored in the database.
Operating system authentication
With operating system authentication, the server's underlying operating system is responsible for authentication. An Oracle userĀ ID that is created with the IDENTIFIED EXTERNALLY
attribute (instead of a password) is accessed with operating system authentication. To log on to such a userĀ ID, the application supplies a slash ( / ) for a userĀ ID and does not supply a password.
To perform operating system authentication, the server determines the requester's operating system userĀ ID, optionally adds a fixed prefix to it, and uses the result as the Oracle userĀ ID. The server confirms that the userĀ ID exists and is identified externally, but no password checking is done. The underlying assumption is that users were authenticated when they logged on to the operating system.
Operating system authentication is not available on all platforms and is not available in some Oracle Net (client-server) and multi-threaded server configurations. Refer to your Windows Oracle database documentation and Oracle Database Net Services Administrator's Guide to determine the availability of this feature in your configuration.
For more information about authenticating application logons, refer to the Oracle Database Administrator's Guide.
The following sections discuss database links for users of the gateway employing either TCP/IP or SNA communications protocols.
The first point of control for a database link is whether it is accessible to a given user. A public database link can be used by any userĀ ID. A private database link can be used only by the user who created it. Database link usability is determined by its ability to open a session to the gateway. The Oracle database makes no distinction as to the type of use (such as read-only and update or write) or which remote objects can be accessed. These distinctions are the responsibility of the OLTP that is accessed.
The CONNECT
clause is another security-related attribute of a database link. You can use the CONNECT
clause to specify an explicit userĀ ID and password, which can differ from the user's Oracle userĀ ID and password. This CONNECT
userĀ ID and password combination is sent to the gateway when the database link connection is first opened. Depending on gateway-specific options, the gateway might send that userĀ ID and password to the OLTP to be validated.
If a database link is created without a CONNECT
clause using Oracle authentication, then the user's Oracle userĀ ID and password are sent to the gateway when the connection is opened. If the user logs on to the Oracle database with operating system authentication, then the gateway receives no userĀ ID or password from the Oracle database . It is impossible for operating system-authenticated Oracle users to use a gateway database link defined without a CONNECT
clause. However, if your OLTP provides userĀ ID mapping facilities based on the gateway LU name from which the user is connecting, then such a connection is possible if all users on the same gateway instance can use the same OLTP userĀ ID.
For more information about database links, refer to the Oracle Database Administrator's Guide.
The information in this section applies only to the security needs of gateway users employing the SNA communications protocol. When an RPC request to start a remote transaction program is received by the gateway, the gateway attempts to start an APPC conversation with the OLTP. Before the conversation can begin, a session must start between Windows' Logical Unit (LU) and the OLTP LU.
APPC support for the Windows platform is provided by the SNA Server (Microsoft Host Integration Server or IBM Communication Server v6.1.1 or higher).
SNA and its various access method implementations, including VTAM and the SNA Server, provide security validation at session initiation time, allowing each LU to authenticate its partner. This validation is carried out entirely by network software before the gateway and OLTP application programs begin their conversation and process conversation-level security data. If session-level security is used, then correct password information must be established in Microsoft Windows' SNA profiles and in similar parameter structures in the OLTP to be accessed. Refer to the suitable communications software product documentation for detailed information about this subject.
The PGA_SECURITY_TYPE
parameter of the gateway initialization file allows you to specify one of three options that determine the security conduct of the LU6.2 conversation that is allocated with the OLTP. These options are part of the SNA LU6.2 architecture, but their precise behavior might vary depending on the particular OLTP system.
If you specify PGA_SECURITY_TYPE=NONE
, then the gateway performs no processing of the client userĀ ID and password. The conversation is allocated with SNA option SECURITY=NONE
.
If you specify PGA_SECURITY_TYPE=PROGRAM
, then the gateway allocates the conversation with SNA option SECURITY=PROGRAM
, and the following information is sent to the OLTP:
If the TIP userĀ ID and password overrides are used, then the specified userĀ ID and password are sent regardless of the database link specification.
If the database link has explicit CONNECT
information, then the specified userĀ ID and password are sent.
If the database link has no CONNECT
clause, and if the application logged on to Oracle with an explicit userĀ ID and password, then the Oracle userĀ ID and password are sent.
If the application logs on to Oracle with operating system authentication, and if the database link lacks explicit CONNECT
information, then no userĀ ID and password are sent. If no userĀ ID and password are sent, and if the OLTP is not configured to assign a default userĀ ID, then the connection fails.
In general, SNA option SECURITY=PROGRAM
tells the OLTP to authenticate the userĀ ID/password combination using whatever authentication mechanisms are available. For example, if CICS Transaction Server for z/OS is the OLTP, then RACF can be used. This is not always the case, however, because each OLTP can be configured to process inbound userĀ IDs in other ways.
The security information in this section applies only to users of the Oracle Database Gateway for APPC using the TCP/IP for IMS Connect feature. When an RPC request to start a RTP is received by the gateway, the gateway attempts to start the TCP/IP conversation with IMS Connect. IMS Connect would contact the OLTP (IMS) through OTMA and XCF. Refer to the IBM IMS Connect Guide and Reference for more information. The conversation between the gateway and IMS Connect occurs when the network uses the TCP/IP address or host name and port number to connect from the gateway to IMS Connect.
Note: Because the gateway is using PGAU to generate TIPs, the TIPs contain SNA information. When using the Oracle Database Gateway for APPC with TCP/IP support for IMS Connect, you need to map the SNA names to the TCP/IP host name and port number in order for the gateway to communicate with IMS Connect. Use thepg4tcpmap tool to map the information from SNA to TCP/IP. Refer to Chapter 6, "pg4tcpmap Commands," of the Oracle Database Gateway for APPC User's Guide for more information. |
IMS Connect provides validation at session initiation time, allowing each connection to authenticate its partner. This validation is carried out entirely by network software before the gateway and OLTP application programs at IMS begin their conversation and process conversation-level security data. If session-level security is used, then correct password information must be established in Microsoft Windows and in similar parameter structures in the OLTP to be accessed.
The PGA_SECURITY_TYPE
parameter of the gateway initialization file allows you to specify the security conduct for the conversation that is allocated by the gateway for OLTP. Refer to Appendix B, "Gateway Initialization Parameters for TCP/IP Communication Protocol".
If you specify PGA_SECURITY_TYPE=NONE
, then the gateway performs no processing of the client userĀ ID and password.
If you specify PGA_SECURITY_TYPE=PROGRAM
, then the following information is sent to the OLTP:
If the TIP userĀ ID and password overrides are used, then the specified userĀ ID and password are sent regardless of the database link specification.
If the database link has explicit CONNECT
information, then the specified userĀ ID and password are sent.
If the database link has no CONNECT
clause, and if the application logged on to Oracle with an explicit userĀ ID and password, then the Oracle userĀ ID and password are sent.
If the application logs on to Oracle with operating system authentication, and if the database link lacks explicit CONNECT
information, then no userĀ ID and password are sent. If no userĀ ID and password are sent, and if the OLTP is not configured to assign a default userĀ ID, then the connection fails.
RACF is the only authentication mechanism available when the Oracle Database Gateway for APPC using TCP/IP for IMS Connect communicates with IMS Connect.
Important: You must specify your RACF group name through thepg4tcpmap tool if you have set your PGA security option to SECURITY=PROGRAM . For more information about this issue, refer to the Oracle Database Gateway for APPC User's Guide. |
Initialization parameters may contain sensitive information, such as user IDs or passwords. Initialization parameters are stored in plain text files and may be deemed insecure. An encryption feature has been added to Heterogenous Services making it possible to encrypt parameters values. This is done through the dg4pwd
utility.
See Also: Refer to Oracle Database Heterogeneous Connectivity User's Guide for more information about this utility |
Installation and Configuration Guide
11g Release 2 (11.2) for Microsoft Windows
E12079-02
February 2010
Oracle Database Gateway for APPC Installation and Configuration Guide, 11g Release 2 (11.2) for Microsoft Windows
E12079-02
Copyright Ā© 1996, 2010,Ā Oracle and/or its affiliates. All rights reserved.
Primary Author: Ā Maitreyee Chaliha
Contributor: Vira Goorah, Govind Lakkoju, Peter Wong, Juan Pablo Ahues-Vasquez, Peter Castro, and Charles Benet
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
The following worksheet lists the parameter names and the reasons you will need them to configure the gateway and the communications interface you have chosen (either SNA or TCP/IP). Use the worksheet to gather the specific information you need before you begin the configuration process.
Ask your systems administrator to provide you with any parameter names you do not know.
Table D-1 Parameters for Configuring Gateway and Communication Protocols
Name of Parameter Needed | Purpose | Your Specific Parameters Here |
---|---|---|
|
for: gateway's Oracle Home |
ĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀ _______________________________ |
|
for: gateway's system ID |
_______________________________ |
Any Security Options Needed |
for: SNA remote LU properties options |
_______________________________ |
Suitable Name for Each Side Information Profile |
for: SNA creating CPI-C symbolic destination names (side information profiles), general information |
_______________________________ |
Suitable Mode |
for: SNA |
______________________________ |
TP Name |
for: SNA partner information in CPI-C name properties |
_______________________________ |
Partner LU Name Alias |
for: SNA partner information in CPI-C name properties |
______________________________ |
Unique Side Profile Name |
for: Configuring TCP/IP support for IMS Connect |
______________________________ |
Remote Host name or TCP/IP Address |
for: Configuring TCP/IP support for IMS Connect, |
_______________________________ |
IP Address |
for: Configuring TCP/IP support for IMS Connect, |
_______________________________ |
IMS Connect Port Number |
for: Configuring TCP/IP support for IMS Connect, |
_______________________________ |
Conversational Protocol (Y/N) |
for: Configuring TCP/IP support for IMS Connect, |
_______________________________ |
Timer choice: a) .25 b) .01 to .25 c) Does not exist d) Receives wait |
for: Configuring TCP/IP support for IMS Connect, |
_______________________________ |
Socket Connection Type Choice: a) transaction b) persistent c) nonpersistent |
for: Configuring TCP/IP support for IMS Connect, |
______________________________ |
IMS Client ID Name |
for: Configuring TCP/IP support for IMS Connect, |
______________________________ |
IMS Commit Mode Choice: a) 0 b) 1 |
for: Configuring TCP/IP support for IMS Connect, |
_____________________________ |
IMS Destination ID, datastore name |
for: Configuring TCP/IP support for IMS Connect, |
_____________________________ |
|
for: Configuring TCP/IP support for IMS Connect, |
______________________________ |
RACF Group Name |
for: Configuring TCP/IP support for IMS Connect, |
_____________________________ |
|
for: Configuring TCP/IP support for IMS Connect, |
_____________________________ |
|
for: Configuring TCP/IP support for IMS Connect, |
_____________________________ |
The Oracle Database Gateway for APPC (the "gateway") enables users to initiate transaction program execution on remote online transaction processors (OLTPs.) The Oracle Database Gateway for APPC can establish connection with OLTP using the SNA communication protocol. The gateway can also use TCP/IP for IMS Connect to establish communication with the OLTP through TCP/IP. The gateway provides Oracle applications with seamless access to IBM mainframe data and services through Remote Procedural Call (RPC) processing. The gateway can access any application capable of using the CPI-C API either directly or through a TP monitor such as CICS.
This chapter discusses the architecture, uses, and features of the gateway. It contains the following sections:
The Oracle Database Gateway for APPC extends the Remote Procedural Call (RPC) facilities available with the Oracle database . The gateway enables any client application to use PL/SQL to request execution of a remote transaction program (RTP) residing on a host. The gateway provides RPC processing to systems using the SNA APPC (Advanced Program-to-Program Communication) protocol and to systems using TCP/IP for IMS Connect protocol. This architecture allows efficient access to data and transactions available on the IBM mainframe and IMS, respectively.
The gateway requires no Oracle software on the remote host system. Thus, the gateway uses existing transactions with little or no programming effort on the remote host.
For gateways using SNA:
The use of a generic and standard protocol, APPC, allows the gateway to access a multitude of systems. The gateway can communicate with virtually any APPC-enabled system, including IBM Corporation's CICS on any platform and IBM Corporation's IMS and APPC/MVS. These transaction monitors provide access to a broad range of systems, allowing the gateway to access many datastores, including VSAM, DB2 (static SQL), IMS, and others.
The gateway can access any application capable of using the CPI-C API either directly or through a TP monitor such as CICS.
The Oracle Database Gateway for APPC provides the following benefits:
TCP/IP support for IMS Connect
This release of the gateway includes TCP/IP support for IMS Connect, giving users a choice of whether to use the SNA or TCP/IP communication protocol. IMS Connect is an IBM product which allows TCP/IP clients to trigger execution of IMS transactions. The gateway can use a TCP/IP communication protocol to access IMS Connect, which triggers execution of IMS transactions. If you choose to use TCP/IP, then there is no SNA involvement with this configuration. Related to this new feature of the gateway is:
The pg4tcpmap
tool. This release of the gateway includes a new tool whose purpose is to map the information from your side profile name to TCP/IP and IMS Connect. For more information about the gateway mapping tool, refer to ChapterĀ 6, of the Oracle Database Gateway for APPC User's Guide, and to Chapter 9, "Gateway Configuration Using TCP/IP Communication Protocol" in this guide.
The gateway is optimized so that remote execution of a program is achieved with minimum network traffic. The interface to the gateway is an optimized PL/SQL stored procedure specification (called the TIP or transaction interface package) precompiled in the Oracle database . Because there are no additional software layers on the remote host system, overhead occurs only when the program processes.
Client applications need not be operating system-specific. For example, your application can call a program on a CICS Transaction Server for z/OS. If you move the program to a CICS region on pSeries, then you need not change the application.
Users calling applications that execute a remote transaction program are unaware that a request is sent to a host.
You can use the gateway to interface with existing procedural logic or to integrate new procedural logic into an Oracle database environment.
The integration of the Oracle database with the gateway enables the gateway to benefit from existing and future Oracle features. For example, the gateway can be called from an Oracle stored procedure or database trigger.
Transactional support
The gateway and the Oracle database allow remote transfer updates and Oracle database updates to be performed in a coordinated fashion.
The gateway supports any tool or application that supports PL/SQL.
The Oracle Database Gateway for APPC provides a powerful development environment, including:
a data dictionary to store information relevant to the remote transaction
a tool to generate the PL/SQL Transaction Interface Package, or TIP
a report utility to view the information stored in the gateway dictionary
a complete set of tracing and debugging facilities
a wide set of samples to demonstrate the use of the product against datastores such as DB2, IMS, and CICS.
The gateway provides site autonomy, allowing you to do such things as authenticate users. It also provides role-based security compatible with any security package running on the mainframe computer.
The following terms and definitions are used throughout this guide. Refer to Appendix C, "Gateway Terminology" for a more elaborate list of terms and definitions pertaining to the gateway, its components and functions.
This is any Oracle database instance that communicates with the gateway for purposes of performing remote procedural calls to execute remote transaction programs (RTP). The Oracle database can be on the same system as the gateway or on a different system. If it is on a different system, then Oracle Net is required on both systems. Refer to Figure 1-2, "Gateway Architecture" for a view of the gateway architecture.
Online Transaction Processor (OLTP) is any of a number of online transaction processors available from other vendors, including CICS Transaction Server for z/OS, IMS/TM, and z/OS
Procedural Gateway Administration Utility (PGAU) is the tool that is used to define and generate PL/SQL Transaction Interface Packages (TIPs.) Refer to Chapter 2, "Procedural Gateway Administration Utility" in the Oracle Database Gateway for APPC User's Guide for more information about PGAU.
Procedural Gateway Data Dictionary (PG DD) is a repository of remote host transaction (RHT) definitions and data definitions. PGAU accesses definitions in the Data Dictionary (PGĀ DD) when generating TIPs. The PG DD has datatype dependencies because it supports the PGAU and is not intended to be directly accessed by the customer. Refer to Appendix A, "Database Gateway for APPC Data Dictionary" in the Oracle Database Gateway for APPC User's Guide for a list of PG DD tables.
Remote Procedural Call (RPC) is a programming call that executes program logic on one system in response to a request from another system. Refer to "Gateway Term Definitions" for more information, and refer to Appendix C, "Gateway RPC Interface" in the Oracle Database Gateway for APPC User's Guide as well.
A remote transaction program (RTP) is a customer-written transaction, running under the control of an OLTP, which the user invokes remotely using a PL/SQL procedure. To execute a RTP through the gateway, you must use RPC to execute a PL/SQL program to call the gateway functions.
A Transaction Interface Package (TIP) is an Oracle PL/SQL package that exists between your application and the remote transaction program. TIP is a set of PL/SQL stored procedures that invoke the remote transaction program through the gateway. TIPs perform the conversion and reformatting of remote host data using PL/SQL and UTL_RAW
or UTL_PG
functions.
Figure 1-1, "Relationship of Gateway and Oracle Database on Windows" illustrates where the terminology discussed in the preceding sections apply within the gateway's architecture.
Figure 1-1 Relationship of Gateway and Oracle Database on Windows
The architecture of Oracle Database Gateway for APPC consists of several components:
The gateway
Oracle Database Gateway for APPC must be installed on a server that can run the required version of the operating system.
An OLTP
The OLTP must be accessible from the gateway using the SNA or TCP/IP communication protocol. Multiple Oracle database s can access the same gateway. A single system gateway installation can be configured to access more than one OLTP.
For a gateway using TCP/IP support for IMS Connect: The only OLTP that is supported through TCP/IP is IMS through IMS Connect.
The OLTP must be accessible to the system using the TCP/IP protocol. Multiple Oracle database s can access the same gateway. A single-system gateway installation can be configured to access more than one OLTP. Multiple IMS can be accessed from an IMS Connect. If you have a number of IMS Connect systems available, then any of these may be connected to one or more IMS systems.
Figure 1-2 illustrates the architecture of Oracle Database Gateway for APPC using either SNA or TCP/IP, as described in the preceding section.
The basic structure of the gateway is the same whether your communications protocol is SNA or TCP/IP support for IMS Connect. The gateway has some of the same components as an Oracle database instance on Microsoft Windows. It has the following components:
a home directory, similar to the one associated with an Oracle instance's ORACLE_HOME
environment variable;
a system identifier, identified as sid
or ORACLE_SID
;
an initialization parameter file, similar to the Oracle database 's initsid.ora file.
The gateway does not have:
control, redo log, or database files;
the full set of subdirectories and ancillary files associated with an installed Oracle database .
Because the gateway has no background processes and does not need a management utility such as Oracle Enterprise Manager, you do not need to start the gateway product. Each Oracle database user session that accesses a particular gateway creates an independent process on Windows, which, in turn, runs the gateway server and executes either the SNA or TCP/IP functions to communicate with an OLTP.
All of the communication between the user or client program and the gateway is handled through a TIP which executes on an Oracle database . The TIP is a standard PL/SQL package that provides the following functions:
declares the PL/SQL variables that can be exchanged with a RTP;
calls the gateway packages that handle the communications for starting the conversation, exchanging data, and terminating the conversation;
handles all datatype conversions between PL/SQL datatypes and the target program datatypes.
The PGAU, provided with the gateway, automatically generates the TIP specification.
The gateway is identified to the Oracle database using a database link. The database link is the same construct used to identify other Oracle databases. The functions in the gateway are referenced in PL/SQL as:
function_name@dblink_name
The Oracle Database Gateway for APPC provides a set of functions that are invoked by the client through remote procedural call (RPC). These functions direct the gateway to initiate, transfer data with, and terminate RTPs running under an OLTP on another system.
Table 1-1 lists the RPC functions and the correlating commands that are invoked in the gateway and remote host.
Table 1-1 RPC Functions and Commands in the Gateway and Remote Host
Applications | Oracle TIP | Gateway | Remote Host |
---|---|---|---|
|
|
|
Initiate program |
|
|
|
Exchange data |
|
|
|
Terminate program |
The following sections describe how the RPC functions perform on gateways using SNA or TCP/IP communication protocols.
The TIP initiates a connection to the remote host system, using one of the gateway functions, PGAINIT
.
When the communication protocol is SNA: PGAINIT
provides, as input, the required SNA parameters to start a conversation with the target transaction program. These parameters are sent across the SNA network, which returns a conversation identifier to PGAINIT
. Any future calls to the target program use the conversation identifier as an INPUT
parameter.
When the communication protocol is TCP/IP: PGAINIT
provides, as input, the required TCP/IP parameters. Use the pg4tcpmap tool to map the parameters. These parameters are sent across the TCP/IP network to start the conversation with the target transaction program, the TCP/IP network returns a socket file descriptor to PGAINIT
. Future calls to the target program made by PGAXFER
and PGATERM
use the socket file descriptor as an input parameter.
Refer to Appendix B, "Gateway Initialization Parameters for TCP/IP Communication Protocol" in this guide, and to Chapter 6 in the Oracle Database Gateway for APPC User's Guide, for more information about the function and use of the pg4tcpmap
tool.
After the conversation is established, a database gateway function called PGAXFER
can exchange data in the form of input and output variables. PGAXFER
sends and receives buffers to and from the target transaction program. The gateway sees a buffer as only a RAW stream of bytes. The TIP that is residing in the Oracle database is responsible for converting the application's PL/SQL datatypes to RAW before sending the buffer to the gateway. It is also responsible for converting RAW to the PL/SQL datatypes before returning the results to the application.
When communication with the remote program is complete, the gateway function PGATERM
terminates the conversation between the gateway and the remote host.
When the communication protocol is SNA:, PGATERM
uses the conversation identifier as an INPUT
parameter to request conversation termination.
When the communication protocol is TCP/IP:, PGATERM
uses the socket file descriptor for TCP/IP as an INPUT
parameter to request conversation termination.
The Oracle Database Gateway for APPC supports three types of transactions that read data from and write data to remote host systems:
one-shot
In a one-shot transaction, the application initializes the connection, exchanges data, and terminates the connection, all in a single call.
persistent
In a persistent transaction, multiple calls to exchange data with the remote transaction can be executed before terminating the conversation.
multiconversational
In a multiconversation transaction, the database gateway server can be used to exchange multiple records in one call to the RTP.
Refer to "Remote Host Transaction Types" in ChapterĀ 4, "Client Application Development" of the Oracle Database Gateway for APPC User's Guide for more information about transaction types.
The following list demonstrates the power of the Oracle Database Gateway for APPC:
You can initiate a CICS transaction on the mainframe to retrieve data from a VSAM file for a PC application.
You can modify and monitor the operation of a remote process control computer.
You can initiate an IMS/TM transaction that executes static SQL in DB2.
You can initiate a CICS transaction that returns a large number of records in a single call.
The Oracle Database Gateway for APPC using TCP/IP for IMS Connect supports three types of transaction socket connections:
The socket connection lasts across a single transaction.
The socket connection lasts across multiple transactions.
The socket connection lasts across a single exchange consisting of one input and one output.
Note: Do not use the nonpersistent socket type if you plan on implementing conversational transactions because multiple connects and disconnects will occur. |
Refer to the section about pg4tcpmap
commands in Chapter 6 of the Oracle Database Gateway for APPC User's Guide and to Chapter 9, "Gateway Configuration Using TCP/IP Communication Protocol" in this guide for more information about how to enter these parameters.
You can initiate an IMS/TM transaction that executes static SQL in DB2, this illustrates the power of the Oracle Database Gateway for APPC feature supporting TCP/IP for IMS Connect.
The following topics in this chapter describe how to install and configure the Oracle Database Gateway for APPC:
Configuring an online transaction processor to allow access by the gateway requires actions on the OLTP and on certain components of the host operating system. Although no Oracle software is installed on the host system, access to, and some knowledge of the host system and the OLTP are required. Although this chapter includes some information about host system and OLTP installation steps, you must ensure that you have the applicable OLTP and host system documentation available.
Some of the configuration actions on the OLTP might require you to restart the OLTP. In preparation for this, have your host system programmer or DBA review the instructions for your OLTP to allow for any necessary preparations.
To install and configure the gateway with a single Oracle database and a single OLTP, perform the procedures described in this chapter.
Note: If your gateway uses the SNA communication protocol, then you will follow the instructions for installation and configuration in this chapter, in Chapter 5, "Configuring Your Oracle Network" and in Chapter 8, "Gateway Configuration Using SNA Communication Protocol".If your gateway uses the TCP/IP communication protocol, then you will follow the instructions for installation and configuration in this chapter, in Chapter 5, "Configuring Your Oracle Network" and in Chapter 9, "Gateway Configuration Using TCP/IP Communication Protocol". |
If you have an earlier version of the Oracle Database Gateway for APPC installed on your system, then you may be upgrading or migrating to the current release. A gateway upgrade represents a minor software upgrade within a release, (for example, moving from Release 9.0 to Release 9.2.0) a gateway migration represents a significant change from one version number to another, (for example, migrating from Release 9.0 to 10.2).
This section is only for customers who have a previous release of Oracle Database Gateway for APPC. If you have a previous gateway installation, then you will need to carry out specific tasks before you can install Release 11.2 of the Oracle Database Gateway for APPC.
After reading this section, you will need to read Chapter 11, "Migration from Existing Gateways" to determine the specific actions you must take to prepare for upgrade or migration of your gateway. If you are migrating to Oracle Database Gateway for APPC Release 11.2 from version 4.01 or earlier, then you will find specific material related to migration of the gateway in Chapter 11, "Migration from Existing Gateways".
If you are installing for the first time, then begin with "Performing Preinstallation Procedures".
Perform the following steps to prepare for upgrading the Oracle Database Gateway for APPC to current versions:
Make backups of altered PGA shipped files.
Remove or rename any old gateway directories.
Upgrade considerations are as follows:
PGAU control files from Gateway Release 8 or 9 are upward-compatible, and you do not need to change them.
After upgrade, the PG DD contains all of its earlier entries without modification. New PGAU control information has been added along with some columns to support new features, but no customer entries are altered by the upgrade.
All TIPs from Oracle Database Gateway for APPC Release 4.0.1 or earlier must be recompiled, due to changes in the following:
PL/SQL compatibility
gateway server RPC interface
UTL_PG
interface
TCP/IP only: If you have existing TIPs that were generated previously on a gateway using the SNA communication protocol and you want to use the new TCP/IP feature, then the TIPs will have to be regenerated by PGAU with mandatory NLS_LANGUAGE
and Side Profile Settings. Specify the appropriate ASCII character set in the DEFINE TRANSACTION
command.
This is due to the fact that the gateway assumes that the appropriate user exit in IMS Connect is being used, which would translate between the appropriate ASCII and EBCDIC character sets.
Before you install the gateway, perform the following preinstallation procedures:
Ensure that your system meets all the hardware and software requirements specified in Chapter 3, "System Requirements".
Ensure that your security requirements are met.
Refer to Chapter 3, "System Requirements" for more information about the security requirements for connections and data access on your OLTP.
Fill out the worksheet identifying unique parameter names needed to configure your system and your chosen communication protocol (either SNA or TCP/IP), which is located in Chapter D, "Configuration Worksheet".
Decide on an SID (system identifier) for your gateway. This SID is used in Section 8.7, "Configuring the Gateway".
The SID must be unique and must not be used by any other gateway or Oracle database on the system.
SNA only: Your SNA package must be installed and configured before you can proceed with installation of the gateway. Ensure that your system can communicate with the OLTP using the SNA Server required for your platform. Refer to Chapter 6, " Configuring the SNA Communication Package on Windows" for more information about setting up and configuring SNA for Windows.
TCP/IP only: Your TCP/IP package must be installed and configured before you can proceed with installation of the gateway.
Ensure that your system can communicate with the OLTP using the TCP/IP communication package for your platform.
If you need general information about installing Oracle products and using the Oracle Universal Installer, then refer to the Oracle Database Installation Guide for Microsoft Windows
You can install the gateway in either of the following ways:
On the same system as the existing Oracle database but in a different directory.
All tasks for this type of installation or upgrade are discussed in this section.
On a system different from a local Oracle database .
On the same system as the Oracle database , and in the same Oracle home directory. Note that in this case, the Oracle database and the gateway must be at the same release level.
For general information about installing Oracle products and how to use the Oracle Universal Installer, refer to the Oracle Database Installation Guide for Microsoft Windows and perform all necessary tasks there first.
If your server release is different than your gateway release, then do not install the gateway in the same Oracle home directory as the Oracle database . This is required to isolate the gateway from the Oracle database upgrades that might cause incompatibilities if the gateway executables were relinked with later versions of the Oracle database libraries.
If you wish to install the gateway in the same Oracle home as the Oracle database , then the release number of both products must be the same.
Logon to your Windows system as a member of the Administrators group. If you are not currently a DBA user, then contact your system administrator to create a DBA login userĀ ID. Refer to the Oracle Database Installation Guide for Microsoft Windows for login information.
If you are installing the gateway for the first time, then ensure that there is enough space on the disk where the gateway will reside, as specified in"Disk Space Requirements".
Before beginning the gateway installation process, you must stop all Oracle services that are currently running. Follow these steps:
Click Start, then Settings, then Control Panel.
Select Services. A list of all Windows services appears.
Select an Oracle service (those services begin with Oracle).
Click Stop.
Continue to select and stop Oracle services until all active Oracle services are stopped.
Verify that the drive is assigned to the logical drive you selected and that you can access files on the installation media.
Note: The installation steps that follow assume that the installation media location is mapped to the D: drive. |
The installation media package contains the Oracle Database Gateway for APPC and the Oracle Universal Installer.
To start the Oracle Universal Installer, run setup.exe
:
From the Start Menu, select Run.
Enter the path of the executable file name. For example:
D:\Disk1\setup.exe
Caution: Oracle Universal Installer automatically installs the Oracle-supplied version of the Java Runtime Environment (JRE). This version is required to run the Oracle Universal Installer and several Oracle assistants. Do not modify the JRE except by using a patch provided by Oracle Support Services. The Oracle Universal Installer also installs JDK. |
Oracle Universal Installer is a menu-driven utility that guides you through installing the gateway by prompting you with action items. The action items and the sequence in which they appear depend on your platform.
The following section describes how to use the Oracle Universal Installer to install the gateway on your platform.
Use Table 4-1 as a guide to step through the Oracle Universal Installer. At each prompt from the Oracle Universal Installer, perform the actions described in the Response column of the table to install the gateway on your Windows platform.
Table 4-1 The Oracle Universal Installer: Steps for Installing the Gateway
Prompt | Response |
---|---|
Oracle Universal Installer: Welcome |
Click Next |
Oracle Universal Installer: Specify Home Details |
a. Specify the name of the installation. Specify the full path where you want to install the product Click Next |
Oracle Universal Installer: Available Product Components |
a. Deselect the checked products b. Select Oracle Database Gateway 11.2, open up this row c. Select Oracle Database Gateway for APPC 11.2. (Note that you may also choose to select other products to install besides the Oracle Database Gateway for APPC). d. Click Next |
Oracle Universal Installer: Network Software |
Specify your network package and click Next |
Oracle Universal Installer: Summary |
Click Install |
Oracle Net Configuration Assistance: Welcome |
Click Next |
Oracle Net Configuration Assistance: Listener Configuration, Listener Name |
Specify the name of Listener you want to create and click Next |
Oracle Net Configuration Assistance: Listener Configutration, Select Protocols |
Select the protocols and click Next |
Oracle Net Configuration Assistance: Listener Configuration, TCP/IP Protocol |
Specify a port number and click Next |
Oracle Net Configuration Assistance:Listener Configuration, More Listeners? |
Click No and then click Next |
Oracle Net Configuration Assistance: Listener Configuration Done |
Click Next |
Oracle net Configuration Assistance: Naming Methods Configuration |
Click No and then click Next |
Oracle Net Configuration Assistance:Done |
Click Yes |
Oracle Universal Installer: End of Installation |
Click Finish |
Exit |
Click Exit |
Your gateway is now installed.
When the Oracle Universal Installer confirms that the installation is complete, verify that the installation procedure was successful. To do this, read the contents of the installation log file, which is located in the C:\Program Files\Oracle\Inventory\logs
directory.
The default file name is InstallActions
YYYY-MM-DD_HH-mm-SS-AM/PM
.log
, where:
YYYY
is year;MM
is monthDD
is dayHH
is hourmm
is minuteSS
is secondsAM/PM
is daytime or eveningEach of these variables in the log file name represents the date and time the product was installed.
Attention: Print the contents of the%ORACLE_HOME%\dg4appc\doc\README.doc file and read the entire document, it contains important information about the installation. After reading the README.doc file, proceed with the configuration of the gateway. |
This chapter describes how to remove Oracle Database Gateway from an Oracle home directory. It contains information about the following topics:
he Deinstallation Tool (deinstall
) is available in the installation media before installation, and is available in Oracle home directories after installation. It is located in ORACLE_HOME\deinstall
.
The deinstall
command stops Oracle software, and removes Oracle software and configuration files on the operating system.
The script uses the following syntax, where variable content is indicated by italics:
deinstall -home complete path of Oracle home [-silent] [-checkonly] [-local] [-paramfile complete path of input parameter property file] [-params name1=value name2=value . . .] [-o complete path of directory for saving files] [-help | -h]
The options are:
-silent
Use this flag to run the command in noninteractive mode. This option requires a properties file that contains the configuration values for the Oracle home that is being deinstalled or deconfigured.
To create a properties file and provide the required parameters, see the template file deinstall.rsp.tmpl,
located in the response folder. If you prefer, instead of using the template file, you can generate a properties file by using the -checkonly
option to have deconfig discover information from the Oracle home that you want to deinstall and deconfigure. The tool will generate the properties file, which you can then use with the -silent
option.
-checkonly
Use this flag to check the status of the Oracle software home configuration. Running the command with the -checkonly
flag does not remove the Oracle configuration.
-local
Use this flag on a multinode environment to deconfigure Oracle software in a cluster.
When you run deconfig with this flag, it deconfigures and deinstalls the Oracle software on the local node (the node where deconfig is run). On remote nodes, it deconfigures Oracle software, but does not deinstall the Oracle software.
-paramfile
complete path of input parameter property file
Use this flag to run deconfig with a parameter file in a location other than the default. When you use this flag, provide the complete path where the parameter file is located.
The default location of the parameter file depends on the location of deconfig:
From the installation media or stage location: ORACLE_HOME\response
From a unzipped archive file from OTN: ziplocation\response
After installation from the installed Oracle home: ORACLE_HOME\deinstall\response
-params [name1=
value
name 2=
value
name3=
value
. . .]
Use this flag with a parameter file to override one or more values that you want to change in a parameter file you have already created.
-o
complete path of directory for saving files
Use this flag to provide a path other than the default location where the properties file is saved. The default location is \response\deinstall.rsp.tmpl
.
The default location of the parameter file depends on the location of deconfig:
From the installation media or stage location before installation: ORACLE_HOME\
From an unzipped archive file from OTN: \ziplocation\response\
After installation from the installed Oracle home: ORACLE_HOME/deinstall/response
-help | -h
Use the help option (-help
or -h
) to obtain additional information about the optional flags
Complete the following procedure to remove Oracle software:
Log in as a member of the Administrators group.
Run the deinstall
command, providing information about the Oracle System Identifier (SID), when prompted.
The Oracle Database Gateway for APPC uses the SNA Advanced Program to Program Communication (APPC/LU6.2) protocol to communicate with an OLTP.
APPC support on Microsoft Windows can be provided by using either of the following tools:
Microsoft Host Integration Server 2000(HIS), or
IBM Communications Server v6.1.1 (or higher).
Read this chapter to learn how to configure the SNA Server on a Windows system to run the Oracle Database Gateway for APPC, using either a Microsoft Host Integration Server or IBM Communications Server.
This chapter contains the following sections:
Creating SNA Server Definitions on Microsoft Host Integration Server
Creating IBM Communications Server Definitions for the Gateway
When a Remote Procedure Call (RPC) request to start a remote transaction program (RTP) is received by the gateway, the gateway attempts to start an APPC conversation with the OLTP. Before the conversation can begin, a session must start between the Windows Logical Unit (LU) and the OLTP LU.
SNA and its various access method implementations (including HIS and IBM Communication Server and VTAM) provide security validation at session initiation time, allowing each LU to authenticate its partner. This validation is carried out entirely by network software before the gateway and OLTP application programs begin their conversation and process conversation-level security data. If session-level security is used, then correct password information must be established in the Windows SNA Server definitions and in similar parameter structures in the OLTP to be accessed. Refer to suitable communications software product documentation for detailed information about this subject.
Many OLTPs provide options for manipulating the security conduct of an inbound (client) APPC session request. Refer to suitable OLTP documentation for detailed information about this topic.
Note that for CICS, one security option is not supported by the gateway:
ATTACHSEC=PERSISTENT
, specified on the CICS CONNECTION
definition, requires capability that is not yet available in the gateway.
However, ATTACHSEC=LOCAL
, ATTACHSEC=IDENTIFY
, ATTACHSEC=VERIFY
, and ATTACHSEC=MIXIDPE
are fully supported by the gateway.
The following sections discuss general information about the SNA Server and how to configure a Microsoft Host Integration Server.
Note: If you are using the IBM Communication Server to configure your Windows system for the gateway, then proceed to Section 6.5, "Configuring an IBM Communications Server". |
Oracle recommends independent LUs for the Oracle Database Gateway for APPC because they support multiple parallel sessions or conversations. This means that multiple Oracle client applications can be active simultaneously with the same OLTP through the independent LU.
Dependent LUs support only a single active session. The CP (Control Point for the Node, which is SNA Server for Windows in this case) queues additional conversation requests from the gateway server behind an already active conversation. In other words, conversations are single-threaded for dependent LUs.
If a dependent LU is correctly defined, then no alterations to the Oracle Database Gateway for APPC configuration are needed, nor should any changes be needed to the host transaction or how the OLTP is started.
The operational impact of dependent LUs is that the first client application can initiate a conversation through the database gateway with the OLTP. While that transaction is active (which could be seconds to minutes to hours, depending on how the client application and transaction are designed), any other client application initiating a conversation with the same OLTP instance appears to hang as it waits behind the previous conversation.
If a production application really uses only a single conversation or transaction at any one time, then there should be no impact.
However, additional concurrent conversations or transactions might be required for testing or for other application development. Each requires that additional dependent LUs be defined on the remote host, plus additional SNA Server configuration entries, which define the additional dependent LUs on the Windows system. The TIP that initiates the conversation must specify the different Partner LU through a different Side Information Profile or by overriding the LU name. Refer to PGAU DEFINE TRANSACTION
, SIDEPROFILE
, and LUNAME
parameters in Chapter 2, "Procedural Gateway Administration Utility," in the Oracle Database Gateway for APPC User's Guide.
The %ORACLE_HOME%\dg4appc\sna
subdirectory contains a sample set of gateway SNA Server definitions created with the SNACFG
command. The snacfg.ctl
file contains sample definitions for SNA Server.
Before building the SNA Server definitions, examine the snacfg.ctl file to determine the definitions needed, their contents, and their inter-relationships. The file format is text-oriented, and each field of each definition is clearly labelled. You can print a copy of the file to use while working with your definitions in a Microsoft Host Integration Server (formerly SNA Server Manager) session.
Several types of SNA Server definitions are relevant to gateway APPC/LU6.2 operation. Each definition can be created and edited using a corresponding Microsoft Host Integration Server (formerly SNA Server Manager) menu.
The definitions relevant to the gateway are presented here in hierarchical order. Those definition types that are lowest in the hierarchy are discussed first. This matches the logical sequence in which to create the definitions.
Refer to the Windows HIS online documentation for a complete discussion of HIS definitions. This section provides an overview of HIS definitions in relation to the Oracle Database Gateway for APPC.
HIS definitions can be created and modified in two ways:
You can create the definitions using menus in the Microsoft Host Integration Server (formerly SNA Server Manager).
Using the Microsoft Host Integration Server is the recommended method for creating the definitions. You should be able to accept most of the defaults. The default values assigned to many of the fields in a new set of definitions are acceptable to the gateway.
Step through the tasks for creating SNA Server definitions in Section 6.4, "Creating SNA Server Definitions on Microsoft Host Integration Server".
Alternatively, you can install the definitions directly on your system using the SNACFG
command.
For information on using the SNACFG
command, refer to your vendor documentation.
If you use the SNACFG
command method, then you must use Microsoft Host Integration Server (formerly SNA Server Manager) to review and modify the installed definitions. Because of configuration and naming differences, it is unlikely that they will work without modification.
Maintenance of SNA definitions is normally done by a user with Administrator authority. The following information is intended for the person creating SNA definitions for the gateway. You should have some knowledge of SNA before reading the following sections.
This section describes the process of creating your SNA definitions in the Microsoft Host Integration Server (formerly called the SNA Server Manager). All of the tasks described in this section are performed from within the Microsoft Host Integration Server.
Select the appropriate folder to ensure that definitions created are for that server. When HIS Manager is started, a dialog box appears.
Select the Servers folder under your local system and select the local SNA Server. From a list of services for that server, select the SNA Service.
You must install and configure a link service for SNA Server to use the network adapter installed in your workstation, as follows:
From the Insert menu, select Link Service.
From the Insert Link Service dialog box, select the Link Service you want to use from the selection list and click Add. For example, select DLC 802.2 Link Service and click Add.
Now, the Link Service Properties dialog box is displayed. Note that the contents of this dialog box vary depending on which link service was selected. In this example, the DLC 802.2 Link Service Properties dialog box is used.
Select the suitable network adapter from the Adapter drop-down menu and click OK. In the Insert Link Service dialog box, click Finish. The system now updates your network bindings.
You must create a connection definition to define the devices which HIS uses to perform SNA communication. From the Insert menu, select Connection. The Connection Properties dialog box appears.
Select the General tab. Enter a connection name. This is the name used by HIS to name the connection. This example names the connection TOKEN1
. From the Link Service drop-down menu, select a link service for the connection. All other settings can be left set to their default values.
Select the Address tab in the Connection Properties box. Enter the Remote Network Address and the Remote SAP Address.
Now, select the System Identification tab. Under Local Node Name, enter the Network Name, Control Point Name, and Local Node ID.
Under Remote Node Name, enter the Network Name, Control Point Name, and optionally, the Remote Node ID. The XID Type should be set to Format 3.
Next, select the DLC tab in the Connection Properties box. In this example, the 802.2 DLC (Token Ring) is being used. For the 802.2 DLC, all of the defaults are usually acceptable. If you need to change any values, then do so now.
Now, all the connection properties are set. Click OK to continue.
You must create a local logical unit (LU) definition. The local LU definition describes the SNA LU through which the gateway communicates with OLTP systems.
From the Insert menu, select Local APPC LU. The Local LU Properties dialog box appears.
Select the General tab. Enter the LU Alias, Network Name, and LU Name. Ensure that the APPC SyncPoint Support box is not checked.
Select Advanced tab of the Local APPC LU Properties box. Check the Member of Default Outgoing Local APPC LU Pool check box. Set the LU 6.2 Type to Independent to allow parallel sessions.
Now, the Local LU properties are all set. Click OK to continue.
This definition describes an SNA mode entry to be used when establishing sessions between LUs. The mode defined here must match a mode defined on the target system.
From the Insert menu, select APPC Mode Definition. The APPC Mode Properties dialog box appears.
Select the General tab. Enter the Mode Name. The mode name that you specify must be defined to the OLTP communications software. Choose the mode name in addition to other mode parameters after consulting the person responsible for configuring the OLTP communications software.
Next, select the Limits tab. Enter the Parallel Session Limit, Minimum Contention Winner Limit, Partner Min Contention Winner Limit, and Automatic Activation Limit values.
The Parallel Session limit determines the maximum number of concurrent conversations allowed between the gateway instance and the OLTP. This equates to the maximum number of concurrently active RTP calls through the gateway instance.
Now, select the Characteristics tab. Enter the Pacing Send Count, Pacing Receive Count, Max Send RU Size, and Max Receive RU Size. For optimal performance, check the High Priority Mode check box.
The pacing and RU size parameters are performance-related and should be tuned to suit your application. For most installations, the values set in the example are sufficient.
After you finish entering the values called for in this box, all the APPC mode properties will be set. Click OK at the bottom of the box to continue.
This definition describes the SNA LU of the OLTP system with which the gateway communicates. You must create a remote LU definition for the remote OLTP system. Determine the link with which to associate the LU (in the example, it is TOKEN1
). From the Insert menu, select APPC Remote LU. The Remote APPC LU Properties dialog box appears.
Select the General tab. Use the Connection drop-down menu to select the connection used to access this LU. Enter the LU Alias, Network Name, LU Name, and Uninterpreted LU Name. You should contact the person responsible for your SNA network to determine the correct LU and network names. Note that you can use the LU Alias to define a name known only to SNA Server, and that name can remain the same even if the remote LU name changes. This helps to reduce the amount of maintenance required when network changes occur.
Now, select the Options tab. Check the Supports Parallel Sessions check box. Use the Implicit Incoming Mode drop-down menu to select the mode. Set any security options you need.
Once you have filled in the suitable values in the Remote APPC LU Properties box, the APPC LU properties will be set. Click OK to continue.
When the Local and Remote Partner definitions and Mode definitions have been created, you can create CPI-C Symbolic Destination Names, also called side information. The side information is used to identify target OLTP systems to be accessed through the gateway. From the Insert menu, select APPC CPIC Symbolic Name. The CPIC Name Properties dialog box appears.
Select the General tab. Enter a Name for the side information. From the Mode Name drop-down list, select the suitable mode.
Now, select the Partner Information tab. Select Application TP and enter the TP name. If you plan to define one CPI-C Symbolic Destination Name for accessing multiple transaction programs at an OLTP, then you can enter a dummy TP Name at this time. The TP Name is overridden by the gateway at run time.
Enter the Partner LU Name Alias.
Click OK to save the side information.
Configuration of the Microsoft Host Integration Server is now complete. Proceed to "Testing the Connection".
If you are using IBM Communications Server as your SNA Server, then read the following sections to learn how to configure it to communicate with the Oracle Database Gateway for APPC.
Oracle recommends independent LUs for the Oracle Database Gateway for APPC because they support multiple parallel sessions or conversations. This means that multiple Oracle client applications can be active simultaneously with the same OLTP through the independent LU.
Dependent LUs support only a single active session. The CP (Control Point for the node, which is IBM Communications Server, in this case) queues additional conversation requests from the gateway server behind an already active conversation. In other words, conversations are single-threaded for dependent LUs.
If a gateway LU is correctly defined, then no alterations to the Oracle Database Gateway for APPC configuration are needed, nor should any changes be needed to the gateway server.
The operational impact of dependent LUs is that the first client application can initiate a conversation through the database gateway with the gateway server. While that transaction is active (which could be seconds to minutes to hours, depending on how the client application and transaction are designed), any other client application initiating a session with the same gateway server appears to hang as it waits behind the previous session.
If a production application really uses only a single conversation at any one time, then there should be no impact.
However, additional concurrent conversations might be required for testing or for other application development. Each requires that additional dependent LUs be defined on the remote host, plus additional IBM Communication Server configuration entries, which define the additional dependent LUs on the host Windows system.
Additional side information profiles should be defined to use the new dependent LUs. New gateway instances should be created and configured to use these new side information profiles.
Refer to PGAU DEFINE TRANSACTION, SIDEPROFILE, and LUNAME parameters in Chapter 2, "Procedural Gateway Administration Utility," in the Oracle Database Gateway for APPC User's Guide.
Several types of IBM Communications Server definitions are relevant to gateway APPC/LU6.2 operation. Each definition can be created and edited using a corresponding SNA Node Configuration menu.
The definitions relevant to the gateway are presented here in hierarchical order. Those definition types that are lowest in the hierarchy are discussed first. This matches the logical sequence in which to create the definitions.
Refer to the IBM Communications Server online documentation for a complete discussion of IBM Communications Server definitions. This section provides an overview of IBM Communications Server definitions in relation to the Oracle Database Gateway for APPC.
IBM Communications Server definitions are created using the SNA Node Configuration tool, while the actual operation of the server is done using the SNA Node Operations tool, both of which are provided with IBM Communications Server.
Maintenance of SNA definitions is normally done by a user with Administrator privileges.
The following sections describe the process of creating your SNA definitions for IBM Communications Server using the SNA Node Configuration tool. All the tasks described in this section are performed within SNA Node Configuration.
SNA Node Configuration will first ask you if you are creating a new configuration or loading an existing configuration. These tasks are based on the assumption that a new configuration is being created.
SNA Node Configuration will next prompt you for a configuration scenario.
Each SNA Server must have a control point defined. This is typically called the Node definition. To define the node:
Click Node.
Click Create.
In the Define the Node dialog box, select the Basic tab. Enter the Control Point, Local Node ID, and Node Type information.
You can select Advanced tab options, depending on your SNA network configuration.
Click OK.
Configure Communication Devices next. Follow these instructions:
Click Devices.
Click Create.
Select the type of device to use for communication. The LAN type is typical for either Ethernet or Token Ring attached network devices.
Configure a LAN device next. Follow these instructions:
Select the Basic tab. Select the adapter to use and the Local SAP.
The other tabs provide options on network tuning parameters.
Click OK.
Configure Peer Connections next. Follow these instructions:
Click Peer Connections.
Click Create.
Define the Link Station next. Follow these instructions:
In the Basic tab, enter a Link Station name for this connection.
Choose the device for the connection.
Enter the Destination address and Remote SAP.
Define the Adjacent Node next. Follow these instructions:
Select the Adjacent Node tab.
Enter the Adjacent CP name of the remote system and pick its CP type. You may have to choose a different transmission group (TG) than the default. Consult your SNA network administrator for details.
Other tabs provide options on tuning and reactivation.
Click OK.
Create Local LUs for this node next. Follow these instructions:
Click Local LU 6.2 LUs.
Click Create.
Define Local LUs next. Follow these instructions:
In the Basic tab, enter the name of the Local LU, and, optionally, an alias. The name must match the Local LU definition of the remote host for this node.
You can examine the other tab for synchronization support and for LU session limits.
Click OK.
Create remote Partner LUs next. Follow these instructions:
Click Partner LU 6.2 LUs.
Click Create.
Define Partner LUs next. Follow these instructions:
In the Basic tab, enter the name of the Remote or Partner LU, and, optionally, an alias.
Select the Fully Qualified CP from the Existing list.
You can examine the other tab for logical record limits and security support.
Click OK.
Before proceeding with the gateway configuration tasks, ensure that your connection is working. You can do this by using the Microsoft Host Integration Server (SNA Server Manager).
Figure 6-1 shows the relationship between SNA Server definitions and the VTAM definitions on the host.
Figure 6-1 Relationship Between SNA Server Definitions and Host VTAM
When you have finished configuring the SNA Server for your Windows system, proceed to Chapter 7, "Configuring the OLTP" to continue configuring the network.
This appendix lists and describes the parameters needed specifically for a gateway featuring the TCP/IP for IMS Connect communication protocol. It also provides a sample output of the pg4tcpmap
tool. In addition, this appendix contains sample listener.ora
and tnsnames.ora
files for a Āgateway using TCP/IP. It contains the following sections:
The parameter file for the Oracle Database Gateway for APPC using TCP/IP for IMS Connect is located in the %ORACLE_HOME%\dg4appc\admin
directory and is called initsid.ora.
Note: Theinitsid.ora file contains both SNA and TCP/IP parameters. You will need to modify these files with the appropriate parameters. |
The Procedural Gateway Administration (PGA) parameters control the TCP/IP interface portion of the gateway.
PGA parameters are specified using the SET
gateway initialization parameter. For example:
SET pga_parm=value
where:
pga_parm
is one of the PGA parameter names in the list that follows
value
is a character string with contents that depend on pga_parm
Table B-1 provides a list of PGA parameters and their descriptions.
Table B-1 PGA Parameters on Gateway Using TCP/IP for IMS Connect
Parameter | Description |
---|---|
where:
NOTE: This parameter will be used for the | |
PGA transaction capability. The following are valid values:
| |
TCP/IP conversation security option. This controls what security parameters are sent to the OLTP. The following are valid values:
The default is For further information on these options, refer to Chapter 10, "Security Requirements". Important: You must specify your RACF group name through the If you have already loaded the table | |
The Oracle Net service name for the Oracle database in which the gateway receives its TCP/IP for IMS Connect information, such as host name and port number. This parameter can be from There is no default value. | |
The Oracle password to be used by the gateway when connecting to the Oracle database specified by the There is no default value. | |
The Oracle userĀ ID to be used by the gateway when connecting to the Oracle database specified by the There is no default value. | |
PGA trace level. This controls tracing output written to The default isĀ 0, indicating no tracing. NOTE: This parameter will be used in the |
The following output illustrates the results from executing the pg4tcpmap
tool when running TCP/IP for IMS Connect on the gateway. Refer to Section 9.8, "Loading the PGA_TCP_IMSC Table" of this guide and to Chapter 6 of the Oracle Database Gateway for APPC User's Guide for detailed information about the function and parameters of the pg4tcpmap
tool.
Note that input in this sample is shown within brackets angle brackets (<>
).
C:\oracle\bin\<pg4tcpmap> PG4TCPMAP: Release 11.2.0.1.0 - Production on Thu Jun 11 15:09:00 2009 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. This tool takes the IMS Connect TCP/IP information, such as host name and port number and maps them to your TIPs. You may use this tool to insert or delete IMS Connect TCP/IP information. If you want to insert a row, type I If you want to delete a row, type D i Enter the Unique Side Profile. IMSPGA Enter either the remote hostname or its TCP/IP address. mvs09 Enter the IMS CONNECT port number. 9900 Do you want to select a CONVERSATIONAL PROTOCOL?(Y|N) The default is NO, 'no request for acknowledgment or deallocation' n Enter one of the following letters for Timer. For .25 second, enter 'D'. For .01 to .25 second, enter 'S'. For 'does not set the timer, no wait occurs', enter 'N'. For Receive waits indefinitely, enter 'I'. The default is 'D'. D Enter one of the following letters for 'socket connection type'. For transaction socket, enter 'T'. For persistent socket, enter 'P'. For non-persistent socket, enter 'N'. The default is 'T'. T Do you want to enter the CLIENT ID name? (Y|N) If NO, IMS CONNECT (USER EXIT) will generate it. n Enter one of the following letters for 'COMMIT MODE'. For Commit Mode set to 0, enter '0'. For Commit Mode set to 1, enter '1'. The default is '1'. 1 Enter the DATASTORE name (IMS DESTINATION ID). The maximum string length is 8 and the Datastore name must be specified. IMSE Do you want to enter the LTERM? (Y|N) If NO, the default is blank. n Do you want to enter the RACF GROUP name? (Y|N) If NO, the default is blank. n Do you want to enter the IRM_ID? (Y|N) If NO, the default is *IRMREQ*. n Does your exit return the LLLL prefix field? (Y|N) The default is 'N'. n Requested to INSERT a row. 'Side Profile name' is 'IMSPGA' 'remote host name' is 'MVS09' 'IMS Connect port number' is '9900' 'conversational protocol' is ' ' 'Timer' is 'D' 'socket connection type' is 'T' 'client ID' is ' ' 'commit mode' is '1' 'Datastore name (IMS destination ID)' is 'IMSE ' 'IMS LTERM override' is ' ' 'RACF group name' is ' ' 'IRM ID' is '*IRMREQ*' 'LLLL prefix present' is 'N' PG4TCPMAP is complete.
LISTENER = (ADDRESS_LIST = (ADDRESS= (COMMUNITY= TCP.world) (Host = bay) (PROTOCOL= TCP) (Port= 2621) ) (ADDRESS= (COMMUNITY= TCP.world) (Host = bay) (PROTOCOL= TCP) (Port= 2623) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PGA) (ORACLE_HOME = C:\oracle\pga\11.2) (PROGRAM = pg4t4ic) ) )
ORA920 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = bay.us.oracle.com)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORA920.bay) ) ) PGA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = bay)(PORT = 2623)) ) (CONNECT_DATA = (SID = PGA) ) (HS = OK) )