Tell us more, what is the text message?
You say this happens .. when exactly?
Phil
I’m actually using SMART COBOL. The program is using WRITS command to write a new record and it’s giving file error 90. No other text message.
Arnel
Last Wiki Answer Submitted: July 31, 2009 12:51 am by philpl1jb44,180 pts.
All Answer Wiki Contributors: philpl1jb44,180 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
If the file is null-capable, and the ALWNULL attribute has not been specified, when you attempt to read a record that has a null value, the read will fail with a file status of 90.
I am not familiar with COBOL/400, but my colleague who is mentioned that the status of 90 can be returned for various scenarios. Please go thru the programmer’s guide for more info.
You may want to reference the following link for more detailed information,
http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/c0925395700.htm
From the IBM COBOL Programmers Guide
If the file is null-capable, and the ALWNULL attribute has not been specified, when you attempt to read a record that has a null value, the read will fail with a file status of 90.
I am not familiar with COBOL/400, but my colleague who is mentioned that the status of 90 can be returned for various scenarios. Please go thru the programmer’s guide for more info.
I’m actually using SMART COBOL. The program is using WRITS command to write a new record and it’s giving file error 90. No other text message.