Re: 114 Attempt to access item beyond bounds of memory - (Signal 11)



am.vinod@xxxxxxxxx wrote:
Hi,

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

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.

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
.



Relevant Pages

  • Re: Thought Youd Like to Know
    ... calling your action a Crusade. ... and not the first time that you are out to start ... your reaction to the word "Crusade" was excessive. ... I have heard and seen numerous Jews use that word and nobody objected ...
    (soc.culture.jewish.moderated)
  • Re: AllegroCL and compute-discriminating-function
    ... (values nil nil)) ... (funcall default-discriminating-function a))))) ... Calling #'test the first time works. ...
    (comp.lang.lisp)
  • Re: Learning to compose?
    ... calling, but in the context that Steve referred to you I would tend to ... There were lick players, but they didn't usually play the ... when the musician heard the fruits of his labor for the first time. ... Everyone enjoyed listening to what was inside the players head, ...
    (rec.music.compose)
  • Re: I went too far in calling the Patriots cheaters
    ... think I went over the line by calling your team cheaters. ... and it's not the first time a team or individual has been found ... Calling them "FANATICS". ...
    (alt.sports.football.pro.ne-patriots)
  • Re: I went too far in calling the Patriots cheaters
    ... think I went over the line by calling your team cheaters. ... and it's not the first time a team or individual has been found ... Calling them "FANATICS". ...
    (alt.sports.football.pro.ne-patriots)