Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8154
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 Compare yesterday's date to the one o... migusd SYNCSORT 4 Fri Sep 22, 2017 11:35 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us