


Appendix - PLATFORM-DEPENDENT INFORMATION 

		    Supplemental Information for AIX  
                  II 2.5/0011 64-bit build (ris.u64/00)



Introduction

This Appendix contains information about Ingres 2.5 that is specific
to IBM RS6000 machines 

The section titled Read This Before You Install must be read before
installing Ingres 2.5.



                        Read This Before You Install

                        Certified Operating Environment

This release of Ingres is supported on RS6000 machines running the AIX 
operating system version 4.3.2 and 4.3.3 in a 64-bit kernel.

For an up-to-date list of supported operating environments, please visit
the Ingres product page from the CA Support website at http://support.ca.com

The dbms server in this release has been built with the "-bmaxdata:030000000"
option to support for large number of user. If this parameter needs to be 
changed, consult the appropriate IBM documentation about this option and   
then edit $II_SYSTEM/ingres/utility/iisysdep file. Change the line:

          CCLDSERVER=-bmaxdata:0x30000000

to reflect your environment based upon the IBM documentation.



                        Support Qualifications


                        Operating System Threads

This version of Ingres 2.5 supports operating system threads.


                        Installation Notes

Use the following information in conjunction with the Getting Started guide.  
Information presented here supersedes information in the Getting Started guide.

Note:  If you are installing Ingres/ICE, you must also install Ingres/Net.


                        Unload Command

Please note that the instructions provided in this section for mounting the 
CD-ROM drive on your machine should be taken as an example only.  If your 
machine does not use /etc/filesystems to store information on mountable  
devices, please check with your system administrator for the correct procedure  
for mounting a CD-ROM drive.

To mount the CD-ROM drive from a local host and perform the installation:

1.      Login as root.

2.      Place the CD-ROM media in the CD-ROM drive and execute the following 
        command:

        $ mount -v'cdrfs' -r /dev/cd0 /cdrom

3.      Continue as with any other installation.  See the Getting Started for more 
        information.


                        Disk Space Requirements

These are the disk space requirements for IBM AIX with the following system 
configurations:

System Configuration            Space Required
DBMS server with Ingres Net     135 MB
Full Ingres installation        165 MB



                        Upgrade Notes


The followings are the detailed procedures for upgrading an existing 
CA-Ingres or CA-OpenIngres installation to an Ingres 2.5 64-bit installation.

1. Unload each database in turn and destroy it with 'destroydb' command
   
2. Unload iidbdb (after destroying all database)

3. Perform a clean install of the new release, which will create a new iidbdb

4. Reload iidbdb

5. Re-create each database in turn and re-load it 




                        Environment Configuration
This release of Ingres supports the use of shared libraries.  The LIBPATH 
environment variable must be set in order to add the Ingres shared libraries  
to your shared library.  Set this variable as follows:

For C shell:

        $ setenv LIBPATH
        "/lib:/usr/ccs/lib:/usr/ucblib:$II_SYSTEM/ingres/lib:
        $LIBPATH"

For Bourne shell:

        $ LIBPATH=
        /lib:/usr/ccs/lib:/usr/ucblib:$II_SYSTEM/ingres/lib:
        $LIBPATH
        $ export LIBPATH


                Application Migration and Development Notes


                        Preprocessor and Compiler Support

IBM C/C++ compliler (version 3.6.6.6) is supported for this 64-bit release. 
There is no support for COBOL, FORTRAN and ADA compilers.

Ingres uses functions from the pthread library (libpthread) and the reentrant c 
library (libc_r).  Any application using Ingres functions, including existing 
applications must provide an appropriate runtime environment.  C applications 
should comply with the compiler directives: -qansialias and -D_THREAD_SAFE.  
Link your application with the reentrant C runtime start-up routine 
(/lib/crt0_r.o) and the libraries -lc_r and -lpthreads found in the -
L/usr/lib/threads directory.  See the /etc/xlC.cfg file for details on stanza xlc_r.  

	Floating Point Limitations

Users must consider the effects of data type conversions when numeric 
values are combined or compared.  This is especially true when dealing 
with floating point values.

Exact matches on floating point numbers are discouraged, since float and 
float4 data types are approximate numeric values. Integer and decimal 
data types, on the other hand, are exact numeric values.
In some cases, the behavior of queries involving floating point 
manipulations will differ from that of CA-Ingres 6.4.

When trying to do an exact match on floating point numbers, include 
a "fuzz factor," such as:

...where a1 between (55.55 - 0.00001) and (55.55 + 0.00001)

Or write the query so it eliminates the need to perform the data conversions:

select * from flt_test where a1 = float4(55.55) \g

Data type conversions are covered in detail in the "SQL Data Types" chapter 
of the SQL Reference Guide.


                        Interoperability

This release supports all versions of the AIX TCP/IP network protocol 
communication package using TCP_IP as the I/NET protocol ID.

 
