Why does Btrieve return a status 22, if one perform a Stat operation, even though the maximum number of key spec buffers (24) are allocated?

Why does Btrieve return a status 22, if one perform a Stat operation, even though the maximum number of key spec buffers (24) are allocated?



The reasons for this are

- An alternate collating sequence might be used

- This require to allocate an additional 265 bytes in the data buffer

- Nine bytes are allocated for the name of the collating sequence and 256 bytes are allocated for actual sequence

When I perform a Get Next Extended operation, Btrieve returns a status 62. What does this mean?



- The 62 Status is an error in the descriptor / extractor.

- The first two bytes of the data buffer need to contain the exact length of the data buffer that are sent to Get Next Extend operation

- The Data Buffer length need not be the4 exact length

- If any other variable is defined, the data buffer would be overwritten
Post your comment