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

COBOL File status 90 - Why?


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepti Bhopatkar

New User


Joined: 11 Apr 2006
Posts: 8
Location: Pune

PostPosted: Wed May 10, 2006 4:57 pm
Reply with quote

What does file status 90 means? i am encountering it in a flat file which is opened in an I-O mode? ( As per the info from error assist it says that it is some VSAM logic error . But in my case it is a flat file ).
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed May 10, 2006 7:06 pm
Reply with quote

Hi

First, here is the link to the COBOL status keys. Look for File Status key 90.


/references/a27.html


If you can post the entire program, if it's not to big, would be best. But if not, would you please post important parts, SELECT, FD, OPEN, READ, etc.

and any messages you might get pertaining to this in sysout.

Thanks,

Dave
Back to top
View user's profile Send private message
nallapureddy

New User


Joined: 27 Jul 2005
Posts: 18

PostPosted: Thu May 11, 2006 2:15 pm
Reply with quote

i guess we cannot open a flat file in i-o mode
if at all u want to update it open it in extend mode

thanks,
nallapureddy
Back to top
View user's profile Send private message
ranga_subham

New User


Joined: 01 Jul 2005
Posts: 51

PostPosted: Thu May 11, 2006 2:17 pm
Reply with quote

nallapureddy,

We use I-O mode to update and EXTEND mode to add records at end in a COBOL program.

Certainly, you can open a flat file in I-O mode.

Let me know if you have more doubts.

HTH.
Back to top
View user's profile Send private message
nallapureddy

New User


Joined: 27 Jul 2005
Posts: 18

PostPosted: Fri May 12, 2006 10:35 am
Reply with quote

in i-o mode we can just rewrite a record for sequential files.
If we want to insert a new record we must open it in extend mode.
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Fri May 12, 2006 11:53 am
Reply with quote

Deepti,

If my guess is correct the flat file which you are using might have been created with STORCLASS=COMPRESS mode in the PROC or JCL ,so when it is opened in I/O mode it creates the problem.To rectify this remove the COMPRESS mode during creation of the file so that this issue is resolved.

Correct me If I am wrong.

Regards,
Muthuvel.
Back to top
View user's profile Send private message
Deepti Bhopatkar

New User


Joined: 11 Apr 2006
Posts: 8
Location: Pune

PostPosted: Fri May 12, 2006 1:16 pm
Reply with quote

Hi Muthuvel

Yes u r right .... i had just corrected this n at the same time got yr reply ...
Thanks a lot to everybody for their help !!!!

Regards,
Deepti
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat May 13, 2006 6:52 pm
Reply with quote

Also remember that if the "flat file" is on tape, updating a rec in it is difficult (some at IBM say it's impossible).
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Unable to interpret a hex value to De... COBOL Programming 4
No new posts COBOL sorting, with input GDG base COBOL Programming 7
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 0
No new posts Replacing FILLER with FILLER<SeqNu... DFSORT/ICETOOL 2
No new posts how to eliminate null indicator value... DB2 7
Search our Forums:

Back to Top