HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

a- 16
DATASET statements referenced.
ACTION Add the key used in an IN DATASET statement.
------------------------------------------------------------------------------------
238 MESSAGE Improper PATH or LINK specified in a THREAD statement.
CAUSE The PATH must be a valid path defined in the database schema
and the LINK variable, if used, must be the same data type as
the key.
ACTION Use the correct PATH number or LINK variable.
------------------------------------------------------------------------------------
239 MESSAGE Workfile has wrong file type or open mode.
CAUSE A WORKFILE must be a binary file and opened for read and write.
One of these conditions is not satisfied.
ACTION Correct the file type or open mode.
------------------------------------------------------------------------------------
240 MESSAGE Line referenced is not a THREAD IS statement.
CAUSE A THREAD IS statement is not being referenced in a SORT/SEARCH
operation.
ACTION Add the missing THREAD IS statement.
------------------------------------------------------------------------------------
241 MESSAGE Workfile record size not long enough for thread list.
CAUSE The workfile's record size is too short.
ACTION Make sure the record size of a workfile is at least N 32-bit
words (or 2N 16-bit words) long; where N is the number of
datasets in the thread.
------------------------------------------------------------------------------------
242 MESSAGE String variables not allowed in WORKFILE.
CAUSE Only numbers can be written into a workfile.
ACTION If a string is being written to a workfile, something is wrong
in the program, possibly between HP Business BASIC/XL and the
database. Check the program for errors and delete the string
from the output list.
------------------------------------------------------------------------------------
243 MESSAGE The workfile is empty for a FILTER or SORT ONLY statement.
CAUSE The workfile is empty when a FILTER or SORT ONLY statement is
encountered.
ACTION Create the workfile first before these statements are executed.
------------------------------------------------------------------------------------
244 MESSAGE Thread list contains more than 10 data sets.
CAUSE A maximum of 10 data sets is allowed in a thread.
ACTION Reduce the number of data sets in the thread.
------------------------------------------------------------------------------------
245 MESSAGE Improper sort key used.
CAUSE Only simple variables can be used as key. Other types of
variables, such as array elements or substrings will result in
this error.
ACTION Change the key to use only simple variables.