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: 8055
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
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 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 File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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