Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oracle 9i database on a aix 4.3.3 server trying to use a 32 bit compiler- error ksms.imp

Re: oracle 9i database on a aix 4.3.3 server trying to use a 32 bit compiler- error ksms.imp

From: Simon Tobias <Simon.Tobias_at_nospam.microfocus.com>
Date: Fri, 23 Apr 2004 16:57:12 +0100
Message-ID: <c6bdu4$afe$1@hyperion.microfocus.com>


To build rtsora[32], you can use the makefiles under
$ORACLE_HOME/precomp/lib. For 32-bit and 64-bit :

for either mode:
<set up COBDIR, ORACLE_HOME, ORACLE_BASE, ORACLE_SID as appropriate for your installation>
export PATH=$COBDIR/bin:$ORACLE_HOME/bin:$PATH

Ensure that your effective COBMODE -- which dictates whether COBOL functions in 32-bit or 64-bit mode -- is correct. Running 'cobmode' will tell you this. To change it, you can set COBMODE=32 (or 64). Then you need to do the following. These command lines are for AIX, though should be similar for your OS, though substitute LIBPATH for SHLIB_PATH or LD_LIBRARY_PATH as appropriate.

32-bit :
export LIBPATH=$COBDIR/lib:$ORACLE_HOME/lib32:$LIBPATH cd $ORACLE_HOME/precomp/lib
make LIBDIR=lib32 -f ins_precomp.mk EXE=rtsora32 rtsora32

64-bit:
export LIBPATH=$COBDIR/lib:$ORACLE_HOME/lib:$LIBPATH cd $ORACLE_HOME/precomp/lib
make -f ins_precomp.mk rtsora

For your application itself, I'd refer to the sample makefiles under
$ORACLE_HOME/precomp/demo/procob2. There should be separate makefiles for
32-bit and 64-bit applications.

Regards,
SimonT. Received on Fri Apr 23 2004 - 10:57:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US