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: Chennai

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 IDCAMS listcat service using cobol JCL & VSAM 1
No new posts Convert PS to TXT file using jcl JCL & VSAM 7
No new posts Make cobol variable value a variable COBOL Programming 3
No new posts how to convert and use 1 bit hex-numb... COBOL Programming 10
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
Search our Forums:

Back to Top