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: 7931
Location: Bellevue, IA

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 Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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