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: 8057
Location: East Dubuque, Illinois, USA

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 Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


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