| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
Deepti Bhopatkar
Joined: 11 Apr 2006
Posts: 8
Location: Pune
|
| Posted: Wed May 10, 2006 4:57 pm Post subject: What does file status 90 means |
|
|
| 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 |
|
DavidatK
Joined: 22 Nov 2005
Posts: 715
Location: Troy, Michigan USA
|
| Posted: Wed May 10, 2006 7:06 pm Post subject: Re: file status 90 |
|
|
Hi
First, here is the link to the COBOL manual status keys.
Status Keys
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 |
|
nallapureddy
Joined: 27 Jul 2005
Posts: 18
|
| Posted: Thu May 11, 2006 2:15 pm Post subject: |
|
|
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 |
|
ranga_subham
Joined: 01 Jul 2005
Posts: 59
|
| Posted: Thu May 11, 2006 2:17 pm Post subject: |
|
|
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 |
|
nallapureddy
Joined: 27 Jul 2005
Posts: 18
|
| Posted: Fri May 12, 2006 10:35 am Post subject: Re: file status 90 |
|
|
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 |
|
muthuvel
Joined: 29 Nov 2005
Posts: 196
Location: Chennai
|
| Posted: Fri May 12, 2006 11:53 am Post subject: Re: file status 90 |
|
|
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 |
|
Deepti Bhopatkar
Joined: 11 Apr 2006
Posts: 8
Location: Pune
|
| Posted: Fri May 12, 2006 1:16 pm Post subject: |
|
|
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 |
|
mmwife
Joined: 30 May 2003
Posts: 1526
|
| Posted: Sat May 13, 2006 6:52 pm Post subject: |
|
|
| 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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|