Eloquence Sort Manual

B Appendix B SORT Error Codes

211
No DBASE IS statement active or bad data base specifier. Attempt to execute an IN DATA SET or WORKFILE IS # without previously executing a DBASE IS or the data base that the DBASE IS was executed for has been closed. Or bad data base specified in DBASE IS.
212
Specified data set not found. An improper set name or number was specified.
230
Improper nesting of SORT statements. An attempt was made to execute a SORT BY, QFIND, FIND, IN DATA SET, DBASE IS, etc. while nested inside one of these statements. This can only happen if an expression uses a multi-line function subprogram.
231
Cannot reactivate workfile, or file is not a workfile. An attempt is made to reactivate a workfile by using the WORKFILE IS # statement with no thread list, but the specified file is not a workfile.
233
No read access to specified data set. One of the data sets in the thread is not accessible with the current password.
234
Missing or improper data set linkage. For WORKFILE #, two adjacent sets in the thread list have no path between them, or the chain id specified does not refer to an existing chain.
235
No WORKFILE IS# statement active. Attempt to execute a SORT BY or FIND when no workfile has been declared or the workfile was closed (either by de-assigning it or by DBCLOSE).
236
Improper data/index item or data/index item not found. The item specified in the LINK parameter of WORKFILE IS # does not refer to an item for the specified set or the given item in the SORT BY list is not linked via IN DATA SET to an item in one of the sets in the thread. Improper or non-existent data/index specified in QFIND statement.
238
Improper synthetic linkage. The item in the LINK parameter of WORKFILE IS # either does not match the type of the search item in the master set following the LINK or it is not the first sub-item. Also, LINK is applied to a master set, or the set following the LINK is not of type master.
239
Insufficient space in workfile. Write error on workfile.
241
Improper operation attempt on workfile. Attempt to position the word pointer of a workfile to someplace other than word 1. Also, attempt to print an array on a workfile.
242
Improper READ # or PRINT # on workfile. A complete logical record was not read or written. The word pointer is reset to word 1.
243
Workfile contains invalid information. Attempt to access the workfile via SORT BY, QFIND, FIND, READ # or PRINT # after its contents have been destroyed by a disk error or CTRL Y stopping a FIND, QFIND or SORT.
247
Unexpected error accessing data base
248
Improper QFIND relation
249
Improper value type or improper number of value parameter
Chapter contents:


Eloquence Sort Manual - 19 DEC 2002