IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FILE HANDLING Problem....


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Fri Mar 27, 2009 1:20 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 27, 2009 1:22 am
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
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: 2146
Location: At my coffee table

PostPosted: Fri Mar 27, 2009 7:10 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top