Results 1 to 1 of 1
  1. #1
    Join Date
    May 2004
    Location
    Cincinnati, OH
    Posts
    1

    Unanswered: Compiling MFCobol/Oracle on 64-bit platform

    We are having one aggravating time trying to compile a small group of cobol programs with Oracle sub routines and we keep getting the same error. When we don't reference the Oracle routines, the program compiles fine, but doesn't run (we can't get any displays up). When we reference the Oracle routines, the program doesn't compile at all.

    The background is that these were cobol pgms that used to run on a 32-bit box and we're now bringing everything over to a new 64-bit box. We are not sure if it is a compiler issue, an Oracle issue, both, or neither. To put it lightly, we're in mud right now. Any help or advice is greatly appreciated. Especially if just to point us in the right direction.

    Here are a couple of outputs that I hope make sense:

    cob -C
    "ASSIGN=EXTERNAL SIGN=EBCDIC FORMAT=LOC USE=jp.dir" -xvP /medstat/advantage/tadvance/db_home/converts/source/CSBDATE.CBL

    cob64 -C nolist -C ASSIGN=EXTERNAL SIGN=EBCDIC FORMAT=LOC USE=jp.dir -xvP /medstat/advantage/tadvance/db_home/converts/source/CSBDATE.CBL

    * Micro Focus Server Express V2.2 revision 000 Compiler
    * Copyright (C) 1984-2003 Micro Focus International Ltd. URN RXCCL/AA0/00000
    * Accepted - verbose
    * Accepted - nolist
    * Accepted - ASSIGN(EXTERNAL)
    * Accepted - SIGN(EBCDIC)
    * Rejected - FORMAT(LOC)
    * Accepted - 64KSECT
    * Accepted - SEGSIZE"65536"
    * : :
    continued...
    * : :
    * Accepted - NOTRICKLE
    * Accepted - TRICKLECHECK
    * Accepted - ARITHMETIC(VSC2)
    * Accepted - NOTRUNC
    * Accepted - NOSQL
    * Rejected - NOPASS
    * Rejected - NOINIT
    * Rejected - SQLPROT
    * Rejected - SQLFORMAT(ISO)
    * Accepted - list(CSBDATE.lst)
    * 155-U
    155 Illegal command line

    cob64: error(s) in compilation: /medstat/advantage/tadvance/db_home/converts/source/CSBDATE.CBL

    make: The error code from the last command is 16.

    And now, the other error that we find in the precompile of the oracle subroutine:

    cob -C "ASSIGN=EXTERNAL SIGN=EBCDIC USE=oracle_cobol.dir" -xvP /medstat/advantage/tadvance/db_home/converts/source/OSAREDBK.CBL /medstat/advantage/tadvance/db_home/converts/obj/CSBEROR.o /medstat/advantage/tadvance/db_home/converts/obj/CSBFOLO.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/pw-syscall.exp /medstat/advantage/common/app/oracle/product/9.2.0/precomp/lib/cobsqlintf.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/scorept.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/sscoreed.o /medstat/advantage/common/app/oracle/product/9.2.0/rdbms/lib/kpudfo.o -L /medstat/advantage/common/app/oracle/product/9.2.0/lib/ -lsql9 /medstat/advantage/common/app/oracle/product/9.2.0/lib/nautab.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/naeet.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/naect.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/naedhs.o `cat /medstat/advantage/common/app/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /medstat/advantage/common/app/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /medstat/advantage/common/app/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /medstat/advantage/common/app/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lld -lm `cat /medstat/advantage/common/app/oracle/product/9.2.0/lib/sysliblist` -lm
    cob64 -C nolist -C ASSIGN=EXTERNAL SIGN=EBCDIC USE=oracle_cobol.dir -xvP /medstat/advantage/tadvance/db_home/converts/source/OSAREDBK.CBL /medstat/advantage/tadvance/db_home/converts/obj/CSBEROR.o /medstat/advantage/tadvance/db_home/converts/obj/CSBFOLO.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/pw-syscall.exp /medstat/advantage/common/app/oracle/product/9.2.0/precomp/lib/cobsqlintf.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/scorept.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/sscoreed.o /medstat/advantage/common/app/oracle/product/9.2.0/rdbms/lib/kpudfo.o -L /medstat/advantage/common/app/oracle/product/9.2.0/lib/ -lsql9 /medstat/advantage/common/app/oracle/product/9.2.0/lib/nautab.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/naeet.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/naect.o /medstat/advantage/common/app/oracle/product/9.2.0/lib/naedhs.o -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lld -lm /lib/crt0_64.o -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat -lm
    * Micro Focus Server Express V2.2 revision 000 Compiler
    * Copyright (C) 1984-2003 Micro Focus International Ltd. URN RXCCL/AA0/00000
    * Accepted - verbose
    * Accepted - nolist
    * Accepted - ASSIGN(EXTERNAL)
    * Accepted - SIGN(EBCDIC)
    * Accepted - 64KSECT
    * Accepted - SEGSIZE"65536"
    * Accepted - TRICKLECHECK
    * Accepted - OPT"1"
    * Accepted - APOST
    * Accepted - FOLDCOPYNAME(UPPER)
    * : :
    * continued....
    * : :
    * Accepted - HOST-NUMCOMPARE
    * Accepted - NOZWB
    * Accepted - MODEL(HUGE)
    * Accepted - NOANS85
    * Accepted - VSC2
    * Accepted - TRACE
    * Accepted - HOST-NUMMOVE
    * Accepted - ARITHMETIC(VSC2)
    * Accepted - NOTRUNC
    * Accepted - NOSQL
    * Accepted - list(OSAREDBK.lst)
    * Compiling /medstat/advantage/tadvance/db_home/converts/source/OSAREDBK.CBL
    WARNING: Early Release features are enabled. Please see your release notes for
    more details, and do not rely on these features being supported in
    future products from Micro Focus. Please use and evaluate Early
    Release features and tell Micro Focus what you think.
    * Total Messages: 0
    * Data: 2040 Code: 3312
    * Generating cross reference
    * End of cross reference listing
    * Micro Focus Server Express V2.2.00 Code generator
    * Copyright (C) 1984-2003 Micro Focus International Ltd. All rights reserved.
    * Accepted - verbose
    * Generating OSAREDBK
    * Data: 2416 Code: 4600 Literals: 552
    Entry points defined in module: OSAREDBK.o
    *OSAREDBK
    Entry points defined in module: /medstat/advantage/tadvance/db_home/converts/obj/CSBEROR.o
    CSBEROR
    Entry points defined in module: /medstat/advantage/tadvance/db_home/converts/obj/CSBFOLO.o
    CSBFOLO
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/precomp/lib/cobsqlintf.o
    SQLROWIDGET
    DSNTIAR
    SQLBTE
    SQLBCC
    SQLGLMT
    SQLGLM
    SQLORA
    SQLBXT
    SQLBEX
    SQLPR2T
    SQLPR2
    SQLPRCT
    SQLPRC
    SQLNULT
    SQLNUL
    SQLGRI
    SQLTOC
    SQLTFL
    SQLSTRD
    SQLSQS
    SQLPCS
    SQLOS1
    SQLOCA
    SQLMOV
    SQLLEN
    SQLLD2
    SQLLDA
    SQLLO1
    SQLGB1
    SQLFCH
    SQLFCC
    SQLCUR
    SQLCDA
    SQLBS1
    SQLALDT
    SQLALD
    SQLAD1
    SQLADRVC
    SQLADRCR
    SQLADR
    SQLGLST
    SQLGLS
    SQLGS2
    SQLGSS
    SQLGSST
    SQLAB1
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/lib/scorept.o
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/lib/sscoreed.o
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/rdbms/lib/kpudfo.o
    kpuddb
    kpudsc
    kpucer
    kpusdt
    kpusdl
    kpulsc
    kpuexes
    kpugml
    kpudex
    kpudcx
    kpugdcx
    kpusnchr
    kpuasav
    kpusvar
    kpudbcx
    kpugbccx
    kpugbncx
    kpumcf
    kpugc
    kpudc
    kpuach
    kpuicx
    kpuic
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/lib/nautab.o
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/lib/naeet.o
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/lib/naect.o
    Entry points defined in module: /medstat/advantage/common/app/oracle/product/9.2.0/lib/naedhs.o
    naedhsd_dummy
    Entry points defined in module: /lib/crt0_64.o
    __start
    __threads_init
    ld: 0711-317 ERROR: Undefined symbol: .LsxInitialize
    ld: 0711-317 ERROR: Undefined symbol: .LsxLoad
    ld: 0711-317 ERROR: Undefined symbol: .LsxValidateDoc
    ld: 0711-317 ERROR: Undefined symbol: .LsxTerminate
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    make: The error code from the last command is 8.


    Stop
    Last edited by crit300; 05-10-04 at 13:47.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •