Hi there,
We are running into problem with MF V5.1 on AIX6.1, wondering if anyone can help share some advice?
Problem Summary:
the COBOL source files can compile with MF V5.0 + AIX 6.1. However, it is reporting error code 114 with MF V5.1. After changing the compiler option "nobound" to "bound", it could pass compilation and able to run.
Anybody can share some insight on the possible cause of this issue, and will there be any potential problem if we use compiler option "bound" for production? Thanks a lot.
Problem Details:
We are getting the following error when attempting to compile on an AIX6.1 running MF Server Express V5.1.00:
$cob64 -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide -C nobound -iva -W e -C rtncode-size=4 copylist warning=3 -C LIST=CTEST.lst .profile.CT001 -C "changemessage(1176 s 1207 s 642 e)" -C MFSYNC -k CTEST.COB
cob64 -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide -C nobound -iva -W e -C rtncode-size=4 copylist warning=3 -C LIST=CTEST.lst .profile.CT001 -C changemessage(1176 s 1207 s 642 e) -C MFSYNC -k CTEST.COB
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) 1984-2009 Micro Focus (IP) Limited. URN RXCAO/AA0/00000A
* Accepted - verbose
* Accepted - nolist
* Accepted - notrunc
* Accepted - checknum
* Accepted - noreseq
* Accepted - noosvs
* Accepted - vsc2
* Accepted - fileshare
* Accepted - ibmcomp
* Ignored - include-filler
* Accepted - hidemessage(1136)
* Accepted - hidemessage(1205)
* Accepted - hidemessage(1234)
* Accepted - ref
* Accepted - odoosvs
* Accepted - odoslide
* Accepted - nolist
* Accepted - notrunc
* Accepted - ref
* Accepted - nobound
* Accepted - rtncode-size(4)
* Accepted - LIST(CTEST.lst)
* Accepted - changemessage(1176 s 1207 s 642 e)
* Accepted - MFSYNC
* Compiling CTEST.COB
* Total Messages: 0
* Data: 402110 Code: 240751
$cob64 -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide nobound -uv CTEST.int
cob64 -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide nobound -uv CTEST.int
* Micro Focus Server Express V5.1.00 Code Generator
* Copyright (C) 1984-2009 Micro Focus (IP) Ltd. All rights reserved
* Accepted - verbose
* Generating CTEST
Execution error : file ''
error code: 114, pc=0, call=1, seg=0
114 Attempt to access item beyond bounds of memory (Signal 11)
cob64: error(s) in code generation: CTEST.int
We had figured out that it is related with the "nobound" option, after changing "nobound" to "bound", the compiling succeeded, as below:
#cob64 -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide bound -iva -W e -C rtncode-size=4 copylist warning=3 -C LIST=CTEST.lst .profile.CT001 -C "changemessage(1176 s 1207 s 642 e)" -C MFSYNC -k CTEST.COB
#cob64 -C nolist -C notrunc checknum noreseq noosvs vsc2 fileshare ibmcomp include-filler hidemessage=1136 hidemessage=1205 hidemessage=1234 -C ref odoosvs odoslide bound -uv CTEST.int