View previous topic :: View next topic
|
Author |
Message |
anandinmainframe
Active User
Joined: 31 May 2007 Posts: 171 Location: India
|
|
|
|
Hi,
When i try to extract datas into a file(GDG). This is what the error i am getting.
The system detected a protection exception (System Completion Code=0C4).
From compile unit XXXXX(My programe name) at entry point XXXXX(My programe name) at compile unit offset +0000E9A at entry offset +0000E9A6 at address 1AF63CD6.
when i use that offset to find them in the compile pgm it has
no problem
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
when i use that offset to find them in the compile pgm it has
no problem |
This makes no sense. The offset points you to an instruction; the instruction is merely an assembler instruction. The problem is what the assembler instruction is doing, and whatever it is doing is what caused the abend. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
when i use that offset to find them in the compile pgm it has
no problem |
Something has a problem. . . It will most likely be your code. . .
Does this program have an internal sort? Array(s)?
Quote: |
When i try to extract datas into a file(GDG). |
How does one do this? Does this mean you have an FD that is opened as output and you are trying to write data into it? That the file might be defined as a GDG in the jcl, but should have no meaning to the code.
When you look at the offset into your code, what is the code attempting to do at that point? |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Is the file open? |
|
Back to top |
|
|
|