ALLBASE/SQL Message Manual (36216-90213)

246 Chapter8
ALLBASE/SQL Error Messages: 8221-10999
10049 MESSAGE No apply WSL records transaction currently
active. (DBERR 10049)
CAUSE Apply_Log encountered a WSL record that was not a
BEGIN WORK record, and the BEGIN WORK WSL
record has not been processed for the transaction. One
cause is if the Apply_Log transaction was aborted and the
user tries to continue applying log records without
starting at the beginning of the transaction. Another cause
is if a transmission error has occurred and the beginning
of the transaction has been lost.
ACTION Check the application to determine if transactions are
correctly reapplied (especially transactions which span
multiple log buffers). Then try to transmit the
transactions and apply them again. If the condition
persists, try closing and reopening the log scan.
10050 MESSAGE WSL records applied did not match transaction
length. (DBERR 10050)
CAUSE Apply_Log determined that applying the WSL record will
lead to a mismatch between the number of bytes applied
for the transaction and the length of the transaction
specified in the BEGIN WORK WSL record. For all
records, except a COMMIT WORK WSL record, this
indicates that the record length plus the number of bytes
previously applied would be greater than the transaction
length specified in the BEGIN WORK record. For
COMMIT WORK records, this error indicates that the
length of the COMMIT WORK record plus the number of
bytes previously applied does not exactly equal the
required transaction length. This is encountered if part of
the transaction has been lost (due to transmission errors,
buffering schemes, etc.).
ACTION Check the application to make sure complete transactions
are being buffered and transmitted correctly. Then try to
transmit the transactions and apply them again. If the
condition persists, try closing and reopening the log scan.
10051 MESSAGE Invalid number of partitions specified.
(DBERR 10051)
CAUSE Get_Scr or Modify_Scr encountered an invalid
num_partitions in the arglist. The acceptable values for
this field are somewhat dependent on the procedure being
called in conjunction with the mode specified.
ACTION Check the num_partitions specified in the arglist.
10052 MESSAGE Invalid partition id encountered. (DBERR
10052)