Skip Headers

Oracle Transparent Gateway for DB2/400 Installation and User's Guide
Release 9.2.0.1.0 for IBM AS/400

Part Number A97615-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

2
Release Information

This chapter describes the changes and corrected problems in this release.  It contains the following sections:

Product Set

The production components that are included on the product CD-ROM are:

Changes and Enhancements

SQL*Plus DESCRIBE Command

The SQL*Plus version 9.2 DESCRIBE command can be used to access remote DB2/400 object information.

Support for DBCS

This support applies to Eastern Asian Languages.

Support for UCS-2 (Unicode)

Unicode columns in DB2/400 tables can now be processed by the gateway.

Enhancements to Support the Turkish Character Set (CCSID 1026)

CCSID 1026 is now defined within DB2/400.

Recovery Password Encryption

The recovery password is no longer in plain text.  For more information, refer to "CHGRECOPRF, Change Recovery Profile Parameters".

Table 2-1  Bugs Fixed Since Release 8.1.7.0 of the Gateway
Bug Number Description

2387621:

SUPPORT FOR CHARACTER SET UCS-2 REQUIRED IN TG4DB2/400

Product now supports reference of columns declare with CCSID 13488, which is IBM's UCS-2 level 1.

2314194:

LOGTRCFILJ NOT DUPLICATED BY CRTORAGTWI

The LOGTRCFILJ *FILE object is now duplicated when an instance is cloned.

2275120:

ORA-28527: HETEROGENEOUS SERVICES DATATYPE MAPPING ERROR WHEN QUERYING ALL_VIEWS

New definition of the ALL_VIEWS Data Dictionary item

2158882:

NULL SQLPLUS OUTPUT USING NVL OPERATOR AGAINST A TG4DB2/400 VIEW/TABLE

LTRIM and RTRIM are now post-processed

2125172:

AS/400 BINARY FIELD INCORRECTLY CONVERTED WITH VERSION 8 OF THE GATEWAY

Precision and Scale are now taken into account for Binary fields

2117335:

ORA-2068 AND ORA-28511 WHEN SELECTING A NUMBER COLUMN WITH SPACE INIT

MCH1202/CEE9901 on attempted of conversion of invalid data in ZONED columns (invalid data came from legacy file)

2113830:

ZONED DECIMAL DATA NOT DISPLAYED CORRECTLY USING DSPPFM

Gateway not using "normal" sign nibble value in ZONED data.

2043393:

Security fixes in Oracle Net

2043386:

Security fixes in Oracle Net

2030307:

SIGNON BY THE GATEWAY USER FAILED AT ORAPROFILE 1500

This is a DBCs problem.  Occurred at customer running under CCSID 5026.

2018853:

CT HAS TWO ETHERNET CARDS; WANTS LISTENER TO LISTEN ON BOTH

This really is not a bug but more of a non-normal configuration problem that has come up many times in the past.  You need to manually update the ORA(LISTENER) member in the instance (even though we say you really should not be editing that member directly).  Following is a sample for a two-port listener:

LISTENER=
  (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=138.67.159.198)(PORT=03817))
    (ADDRESS=(PROTOCOL=TCP)(HOST=136.192.120.81)(PORT=13817))
   )

2000560:

MESSAGE APPEARED ON INSTALLING TG4DB2400 R8.1.7

This is a DBCS problem.  Message was 'Could not open file "/home/T8170T/rdbms/admin/initOTG_INSTANCE.ora" To finish the terminal session, push execute key.'

Customer running under CCSID 5026

1897096:

CPF2105/CPF2130 ON CRTDUPOBJ FOR QPRINT *FILE OBJECT

Error when cloning an instance

1897075:

CPF1023 FROM CRTORAGTWN WHEN CLONING AN INSTANCE

1897030:

CPF1023 FROM CRTORAGTWN WHEN CLONING AN INSTANCE

1856040:

93=COPT-TO-DB-FILE OF WRKTRCLOG DOES NOT WORK

1800650:

ORA-9997 MCH6802 CPF9999 CPA0702 TRYING TO EXTEND GATEWAY TRACE MEMBER

1730629:

AGENT TRACE FILES NOT BEING PRODUCED WHEN JOB CCSID IS 930

Another DBCS problem

1714936:

ORA-28500 SQL0104|SQL0199 ORA-2063 ON SELECT COL1 +1 FOR UPDATE OF.

Known Problems

The problems documented in the following section are specific to the Oracle Transparent Gateway for DB2/400, and are known to exist in this release of the product.  These problems are currently being addressed by Oracle Corporation.  Refer to the respective bugs for the current status of each problem.  If you have any questions or concerns about these problems, please contact Oracle Support Services.

A current list of problems is available online.  Contact your local Oracle Corporation office for information about accessing this online information.

Known Restrictions

The restrictions documented in this section are known to exist for the products in this release of the Oracle Transparent Gateway for DB2/400.  Refer to Chapter 9, "Developing Applications", for information about limitations when developing your applications.

Coexistence with Previous Version Gateway: Data Dictionary Tables

Once the data dictionary tables are installed by a release 9i Gateway, do not reinstall the data dictionary tables from a previous version Gateway, or you will not receive the benefits of the full release 9i capabilities.

Oracle Fast Refresh Snapshots

Oracle fast refresh snapshots are not supported between the gateway and the Oracle9i database server.  However, Oracle complete refresh snapshots are supported between the gateway and the Oracle9i database server.

Oracle SQL Command INSERT

When copying data from an Oracle9i database server to a DB2/400 server, the Oracle SQL command INSERT is not supported.  The SQL*Plus COPY command must be used.  Refer to "SQL*Plus COPY Command", for more information.

Verify the QCRTAUT Parameter Setting Before Installation

Before installing the gateway, verify that the QCRTAUT parameter is set to allow installation (not set to *EXCLUDE).  Refer to "Installation Steps" for information on verifying this value.

Date Arithmetic

Date arithmetic is not supported for SQL statements.  For example, the following SQL expressions do not work:

date + number 
number + date 
date - number 
date1 - date2

Refer to Chapter 9, "Developing Applications" for additional information.

Julian Dates Support

You must use the J option on the TO_DATE and TO_CHAR functions to receive valid Julian dates.

GRAPHIC Constants in SQL Commands

GRAPHIC constants in SQL statements that are valid in one character set may not be valid as G-type or N-type GRAPHIC constants in DB2/400.  For example, graphic constants in KO16KCSC5601 may contain both single-width and double-width characters.  GRAPHIC constants in DB2/400 can contain only double-width characters. 


WARNING:

Oracle Corporation strongly recommends that you do not use graphic constants in SQL statements.  If you do use graphic constants, then you should ensure that all of the characters within a graphic constant are double-width characters.

Oracle Corporation recommends that you use bind variables if you wish to use such constants.  The gateway checks such bind variables (and the graphic constants in INSERT statements) and can force the single-width characters to become double-width characters if requested.  With graphic data coming from a SELECT, the gateway can force those double-width characters back to single-width characters.

The ability to do this results in a data integrity exposure because the gateway cannot determine if a given double-width character was entered as a single-width character that was forced to become a double-width character.


Owners of DB2/400 Components

DD Basic Tables and Views

The owner of Data Dictionary (DD) basic tables and views is OTGDB2.  This cannot be changed.

Binary Literal Notation

Oracle SQL uses hexadecimal digits surrounded by single quotes to express literal values being compared or inserted into columns defined as RAW.  Currently, this is not converted to DB2/400 syntax (an X followed by quoted hexadecimal digits) when the SQL destination is the gateway.  You must use bind variables to compare or insert into a DB2/400 server column defined with the FOR BIT DATA option.

Programmatic Limitations

Gateway design requires that all host variables in a SQL operation be bound before performing a describe function.  When using the Oracle Call Interface (OCI), all OCI bind calls for a given statement must be completed before an OCI describe call is made.

Columns Defined with RAW Data

When you select RAW data into character bind variables, the CHAR column must be two times the size of the RAW data.  Selecting RAW data into character bind variables causes implicit RAW to HEX conversion.  If the character bind variable column is too small, the SELECT statement fails.

GLOBAL_NAMES Initialization Parameter

If GLOBAL_NAMES is set to TRUE in the Oracle integrating server INIT.ORA file, then in order to be able to connect to the gateway, you must specify the Heterogeneous Services (HS) initialization parameter, HS_DB_DOMAIN, in the "Change Oracle Gateway Initialization Parameters" panel to match the value of the Oracle server DB_DOMAIN parameter.  Refer to Chapter 6, "Configuring the Gateway" for more information.

Precompiler Limitations

The SQLCHECK option must be set to NONE when precompiling programs with the Oracle Precompilers.

Some SQL Functions Post-Processed

The Oracle9i database server provides more functionality for some SQL functions compared to similarly named DB2/400 SQL functions.  As a result, these SQL functions are not passed through from the Oracle9i database server to DB2/400.  They are, instead, post-processed.  SUBSTR is an example of such a function.  Some other SQL functions have different semantics in Oracle SQL and DB2/400 SQL.  For details, refer to "SQL Functions" in Chapter 9, "Developing Applications".

DB2/400 SQL Limitations

Oracle ROWID Column

DB2 does not have a column equivalent to the Oracle ROWID column.  Because the ROWID column is not supported, the following restrictions apply:

Oracle Bind Variables

Oracle bind variables become SQL parameter markers when used with the gateway.  Therefore, the bind variables are subject to the same restrictions as SQL parameter markers.

For example, the following statements are not allowed:

WHERE :x IS NULL
WHERE :x = :y

CONNECT BY Is Not Supported

Oracle Transparent Gateway for DB2/400 does not support CONNECT BY in SELECT statements.

Oracle Fast Refresh Snapshots

Oracle fast refresh snapshots are not supported between the gateway and the Oracle9i database server.  However, Oracle complete refresh snapshots are supported between the gateway and the Oracle9i database server.

Savepoints

If you try to issue a savepoint in DB2/400, you receive an ORA-2070 message.  This error is appropriate because DB2/400 does not support savepoints.

LONG Datatypes

Any DB2/400 CHAR or VARCHAR column with a length greater than 4000 bytes is considered a LONG datatype by the gateway.

When using SELECT statements in SQL*Plus or any DB2/400 GRAPHIC or VARGRAPHIC column with a size greater than 2000 characters, the default size of the buffer that is used when retrieving LONG datatypes is 80.  Therefore, if you wish to retrieve a DB2/400 CHAR or VARCHAR column with a length greater than 4000 bytes, then you must set the buffer length correctly.  If the buffer size is not sufficient to contain the column value, then you will receive the following error message:

ORA-28528: Heterogeneous Services datatype conversion error

To work around this problem, reset the size of the buffer using the SET LONG command in SQL*PLUS or Server Manager.

In addition, if you use a program to retrieve a LONG column on the Oracle client, you must retrieve the entire LONG in one call to Oracle; you cannot retrieve the LONG in sections through the gateway.


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index