Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
You said Thursday
Quote: |
The value for LCP-WS-ADDR-COMP is +00000000 and the value for LCP-WS-ADDR-PNTR is X 00000000.
The above variables are defined in below way in program
WORKING-STORAGE SECTION.
77 LCP-WS-ADDR-COMP PIC S9(8) COMP.
77 LCP-WS-ADDR-PNTR REDEFINES LCP-WS-ADDR-COMP
USAGE POINTER. |
If this hasn't changed, the address of +00000000 is not a valid address. It is part of system storage and referencing it will cause a protection exception. Since you're sure the address is passing correctly in the calling program, you need to find the error in your called program. |
|