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
 

 

FILE HANDLING Problem....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
GauravKudesiya
Warnings : 1

New User


Joined: 11 Oct 2008
Posts: 74
Location: Chicago, IL

PostPosted: Fri Mar 27, 2009 1:16 am    Post subject: FILE HANDLING Problem....
Reply with quote

While writing a record in a file through Cobol program, i am getting following ERROR.
I am debugging the program through IBM DEBUGGER.

You were prompted because the CEE344 condition was raised in your
program.
CEE344 is a severity or class 3 condition.
The operating system has generated the following message:
CEE3204S The system detected a protection exception (System Completion
Code=0C4).


Any Suggestions...
Thanks In Advance....
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Mar 27, 2009 1:20 am    Post subject:
Reply with quote

Is the file actually open? Can you prove it?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Mar 27, 2009 1:22 am    Post subject:
Reply with quote

Could you provide a few details ... like what statement the program was on when it generated this error (cut and paste the code using BBCode -- don't just paraphrase the COBOL code)? What are the file attributes? Is this the first time the program has ever run, or are you changing something? Is this the first attempt to write a record or did previous records write okay?
Back to top
View user's profile Send private message
GauravKudesiya
Warnings : 1

New User


Joined: 11 Oct 2008
Posts: 74
Location: Chicago, IL

PostPosted: Fri Mar 27, 2009 6:06 pm    Post subject:
Reply with quote

Thanks CICS Guy
The Problem Resolved.... got a clue from your comment....
Actually The file was opening ... and closing ... properly... but the program was again started from a para again....
And again it trys to write in a file which was not open... then it failed and gives this Run time error..
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Mar 27, 2009 7:10 pm    Post subject:
Reply with quote

Dang, I'm good!
Actually, experience is the best teacher, and I've had experience with the same problem before....grin.....
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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