Tuxedo 11gR1: Setting 64 bits Mode With ALTCFLAGS Has No Effect Using IBMCobol, the IBMCOBOL Compiler Should Be Use In 64bits (Doc ID 1523166.1)

Last updated on NOVEMBER 09, 2016

Applies to:

Oracle Tuxedo - Version 11.1.1.1.0 and later
Information in this document applies to any platform.

Symptoms

The usage of AIX Cobol compiler on 64 bits mode is not working with Tuxedo 11.1.1.0

The AIX COBOL compiler (IBMCobol) doesn't use the 64bits mode during the buildserver -C command it fails  as a module had been generated in 32-bit (XCOFF32 object files are not allowed in 64-bit mode) with output/error here after:

cob2 -c -I${TUXDIR}/cobinclude IZ000S1.cbl
PP 5724-Z87 IBM COBOL for AIX 4.1.1 in progress ...
LineID Message code Message text
IGYSC0162-W Message catalog not found using "LANG=". Using "en_US"
catalog instead.
Messages Total Informational Warning Error Severe Terminating
Printed: 1 1
End of compilation 1, program IZ000S1, highest severity: Warning.
Return code 4
cc -q64 -D_LARGE_FILES -D__XCOFF32__ -D__XCOFF64__ -brtl -qstaticinline -I$TUXDIR/include -o ../lib/myModule BS-dd00fe.c -L${TUXDIR}/lib -L${IBMCOBOL}/lib ${TUXDIR}/cobsqlintf.o -L/opt/oracle/11gr2/db_2/lib/ -lclntsh myModule.o -I${APPDIR}/tux64/mycobinclude -L${APPDIR}/mylib -L${ORACLE_HOME}/lib -lclntsh -lsql11 ${ORACLE_HOME}/precomp/lib/cobsqlintf.o ../pre-builtComponents/TPSVRINIT.o -lcob2s -lsmrtlite -lcobatmi -brtl -qstaticinline -ltux -lbuft -lfml -lfml32 -lengine -lpthread
ld: 0711-738 ERROR: Input file myModule.o:
XCOFF32 object files are not allowed in 64-bit mode.
CMDTUX_CAT:1832: ERROR: can't execute cc -q64 -D_LARGE_FILES -D__XCOFF32__ -D__XCOFF64__ -brtl -qstaticinline -I$TUXDIR/include -o ../lib/myModule BS-dd00fe.c -L${TUXDIR}/lib -L${IBMCOBOL}/lib ${TUXDIR}/cobsqlintf.o -L/opt/oracle/11gr2/db_2/lib/ -lclntsh myModule.o -I${APPDIR}/tux64/mycobinclude -L${APPDIR}/mylib -L${ORACLE_HOME}/lib -lclntsh -lsql11 ${ORACLE_HOME}/precomp/lib/cobsqlintf.o ../pre-builtComponents/TPSVRINIT.o -lcob2s -lsmrtlite -lcobatmi -brtl -qstaticinline -ltux -lbuft -lfml -lfml32 -lengine -lpthread

 

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms