Re: 114 Attempt to access item beyond bounds of memory - (Signal 11)
- From: "James J. Gavan" <jgavandeletethis@xxxxxxx>
- Date: Wed, 09 Aug 2006 19:46:21 GMT
am.vinod@xxxxxxxxx wrote:
Hi,Micahel has indicated some possible reasons. As you used the word "Animator" I'm guessing you are using one of the M/F "Express" compilers.
I'm trying to run a cobol program and calling "DBOPEN" with parameters
such as IMAGE-BASE, IMAGE-PASSWORD, IMAGE-MODE, IMAGE-STATUS.
I'm trying to open the database with read mode.
When I animate the program, at this specific point of calling "DBOPEN"
, Attempt to access item beyond bounds of memory - (Signal 11) occurs.
I'm not able to proceed further.
Help needed in this case.
With Kind Regards,
Vinod
A guess, you might have done something like the following :-
Program A.
01 a pic x(05).
01 b pic x(10).
01 c pic x(15).
01 d PIC X(20).
Call Program-B using a,b,c,d
Program B.
Linkage section.
01 a pic x(05).
01 c pic x(15).
01 b pic x(10).
01 d PIC X(20).
Procedure Division using a,c,b,d
Program A is sending a(05), b(10), c(15) and d(20)
Program B Linkage is saying a(05), c(15), b(10) and d(20)
Depending upon what your problem is the simplest way to overcome it is to self-discipline yourself when coding, so that BOTH sending and receiving parameters are in ALPHABETICAL order. (Next time you hit an Error 114, you will recall why).
Communication - your purpose as a programmer is to indicate clearly to end users what is happening. If you ask anybody for help please don't expect them to be detectives - SPELL IT OUT :-
"I'm using Net Express V 4.0 with Windows XP and the following code...
(repeat your equivalent of my references to Programs A and B above)
and I'm getting an Error 114, Attempt to access an item etc....".
Chances are you will get the ONE and ONLY correct answer first time around if you word it that way.
If still stuck - repeat what I have above, "I'm using Net Express etc...."
Jimmy
.
- References:
- 114 Attempt to access item beyond bounds of memory - (Signal 11)
- From: am . vinod
- 114 Attempt to access item beyond bounds of memory - (Signal 11)
- Prev by Date: Re: Rick Smith - please contact me (off-list)
- Next by Date: Re: Rick Smith - please contact me (off-list)
- Previous by thread: Re: 114 Attempt to access item beyond bounds of memory - (Signal 11)
- Next by thread: Standards - Compiler directive >>IF nitpick
- Index(es):
Relevant Pages
|