Operating System - HP-UX
1753560 Members
5662 Online
108796 Solutions
New Discussion юеВ

Re: 114 Attempt to access item beyond bounds of memory

 
Abdul Majeed Lardhi
Regular Advisor

114 Attempt to access item beyond bounds of memory

The program fetching 100 row fom the oracle table to the memory table after awhile the prgram gives a run time error !!! error 114
I use MicroFocus Cobol 4.1 and Oracle 9i with precompile Pro-Cobol
-----------------------------
DB0111:(F100)3: START SELECT 13153705
DB0111:(F100) START SELECT +0000000100%13153783
DB0111:(F100)2: START SELECT 13153783
DB0111:(F100)3: START SELECT 13153783
DB0111:(F100) START SELECT +0000000100%13153852

Execution error : file '/fns/p/r/dbora/exe/DB0111.gnt'
error code: 114, pc=0, call=18, seg=0
114 Attempt to access item beyond bounds of memory (Signal 11)

HP/MF COBOL Version: B.13.40
HP-UX ncbhpux B.11.11 U 9000/800
pid: 11064 gid: 106 uid: 1015
Tue May 28 13:15:38 2002
1:15pm up 23:59, 18 users, load average: 0.53, 0.27, 0.14
Thread mode: No Threads
RTS Error: COBOL
Sync Signals: COBOL
ASync Signals: COBOL
cobtidy on exception: False
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: 114 Attempt to access item beyond bounds of memory

Without seeing your code, it's difficult to say for certain but this run-time error is almost always the result of bad code. e.g. Array too small or loop not stopping soon enoough or incorrect array subscript. It could be caused by maxssiz set too low but it's more likely to be a programming error.
If it ain't broke, I can fix that.
Abdul Majeed Lardhi
Regular Advisor

Re: 114 Attempt to access item beyond bounds of memory

Thanks for replaying
The code was not changed, the chnages was that we migrate from NCR MP-RAS to HP-UX 11.11 and from Oracle 7.3 to Oracle 9i

The COB Option are :
cob -C notrunc checknum reseq noosvs vsc2 fileshare ibmcomp include-filler hidem
essage=1146 hidemessage=1136 hidemessage=1205 -C hidemessage=1234 -iva -W e -C rtncode-size=4 copylist warning=3 defaultcalls(4) -C LIST=BR0501.lst -k BR05
01.COB

BR0501 (COB) calling DB0111 (PCO) to read the records from the DB.

we are running our programs under rts envirnment !!

Any help please !!
Abdul Majeed Lardhi
Regular Advisor

Re: 114 Attempt to access item beyond bounds of memory


Hi,
after all this time and the investigation with Oracle and MERENT (Microfocus Cobol ), we found that incompatibilty versions of oracle and MF-Cobol
if we need to upgarde to Oracle 9i we should with Server Express MF-Cobol 2.0.11