IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Issue while writing files


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Fri Oct 10, 2008 4:43 pm
Reply with quote

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
Quote:
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 10, 2008 4:58 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 10, 2008 9:02 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Oct 10, 2008 9:47 pm
Reply with quote

Is the file open?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top