Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Issue while writing files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Issue while writing files
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: 7997
Location: Bellevue, IA

PostPosted: Fri Oct 10, 2008 4:58 pm    Post subject:
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

Site Director


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

PostPosted: Fri Oct 10, 2008 9:02 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us