Technical data

142
Appendix A: Run-Time Error Messages
155 character key field value length too long
The length of the character key value exceeds the length specication for
that key.
156 fixed record on sequential file not allowed
RECORDTYPE='xed' cannot be used with a sequential le.
157 variable records allowed only on unformatted
sequential file
RECORDTYPE='variable' can only be used with an unformatted
sequential le.
158 stream records allowed only on formatted sequential
file
RECORDTYPE='stream_lf' can only be used with a formatted sequential
le.
159 maximum number of records in direct access file
exceeded
The specied record is bigger than the MAXREC= value used in the
OPEN statement.
160 attempt to create or write to a read-only file
User does not have write permission on the le.
161 must specify key descriptions
Must specify all the keys when opening an indexed le.
162 carriage control not allowed for unformatted units
CARRIAGECONTROL specier can only be used on a formatted le.
163 indexed files only
Indexed I/O can only be done on logical units that have been opened for
indexed (keyed) access.
164 cannot use on indexed file
Illegal I/O operation on an indexed (keyed) le.
165 cannot use on indexed or append file
Illegal I/O operation on an indexed (keyed) or append le.
Table A-1 (continued) Run-Time Error Messages
Number Message/Cause