
1-94
Status Codes
An application that calls the MicroKernel can return this status
code if the DBNAMES.CFG file contains a named database
definition specifying a data location on a different server.
97: The data buffer is too small
The application either tried to read or write a record that is longer
than the current allowed settings for the MicroKernel or the Btrieve
Requester, as follows:
For an Update, Insert, or Create operation, the application
receives this status code if the data buffer length it specifies for
the record exceeds the message buffer length.
For a Get, Step, or Stat operation, the application receives this
status code if the message buffer is shorter than the length of the
data the MicroKernel would return, regardless of the data buffer
length specified in the application.
For a Get Chunk or Update Chunk operation, the total size of the
retrieved or updated chunk exceeds the message buffer length.
DOS Requesters only: Reload the Btrieve Requester and specify a
higher value for the message buffer size. This is done using the
/D parameter which is documented in Getting Started With
Pervasive PSQL.
For Windows servers, verify that the Maximum Packet Size
registry setting is 576 decimal or 240h. The path to the
MaxPktSize registry setting is
HKEY_LOCAL_MACHINE\System\currentControlSet\
Services\NwInkIPX\NetConfig\MaxPktSize.
100: No cache buffers are available
This indicates that the MicroKernel has used all the cache buffers it
allocated at load time.
You may encounter this status code if your application uses a large
number of write operations (insert, update, and delete) in a user
transaction. The current implementation of the MKDE requires all
modified pages to reside in cache until the transaction completes.
NOTE: On a machine with limited available memory, you may not
be able to successfully complete very large transactions with
thousands of write operations.
Komentáře k této Příručce