
1-74
Status Codes
45: The specified key flags are invalid
The key flags specification on a Create operation is inconsistent. If a
key has multiple segments, the duplicate, modifiable, and null
attributes should be the same for each segment in the key. Also, you
cannot use the null or manual key attributes in a key-only file. The
MicroKernel also returns this status code if the application
attempted to specify a different Alternate Collating Sequence (ACS)
for two or more segments of a segmented key.
46: Access to the requested file is denied
The MicroKernel returns this status code for the following reasons:
The application opened a file in Read-only mode and tried to
perform a Write operation on that file.
The application attempted to perform a Write operation on a file
that is flagged read-only by the operating system.
When the application opened the file, it did not correctly specify
the owner name required for updates.
(Workgroup engine only) If a Workgroup engine user or task
opens a file that a client machine has opened using a server
MicroKernel, the MicroKernel returns this status code if the
Workgroup engine user attempts to write to the file.
(9.x and higher engines only) The application attempted to
perform a Write operation on a 5.x format file. When using a 9.x
or higher engine, you cannot perform a write operation such as
insert or delete on a 5.x format file.
47: The number of files opened exceeds the maximum
allowed
This status code is obsolete in MicroKernel versions 6.0 and later.
Pre-v6.0 workstation MicroKernels return this status code when the
number of files opened in Accelerated mode exceeded the number of
buffers available in the MicroKernel cache. When a file is opened in
Accelerated mode, the MicroKernel reserves one of its cache buffers
for the file. It always reserves five empty buffers for index
manipulation. Reconfigure Btrieve with both a smaller /P
configuration option (to allocate more buffers) and a larger /M
option (to increase the cache allocation).
Kommentare zu diesen Handbüchern