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 specification for
that key.
156 fixed record on sequential file not allowed
RECORDTYPE='fixed' cannot be used with a sequential file.
157 variable records allowed only on unformatted
sequential file
RECORDTYPE='variable' can only be used with an unformatted
sequential file.
158 stream records allowed only on formatted sequential
file
RECORDTYPE='stream_lf' can only be used with a formatted sequential
file.
159 maximum number of records in direct access file
exceeded
The specified 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 file.
161 must specify key descriptions
Must specify all the keys when opening an indexed file.
162 carriage control not allowed for unformatted units
CARRIAGECONTROL specifier can only be used on a formatted file.
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) file.
165 cannot use on indexed or append file
Illegal I/O operation on an indexed (keyed) or append file.
Table A-1 (continued) Run-Time Error Messages
Number Message/Cause










