TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)

Chapter 5 193
TurboIMAGE/XL Library Procedures
DBINFO
Mode 113: BTREEMODE1 and Wildcard Character
Mode 113 gives the settings of BTREEMODE1 and wildcard character in the root file as well
as current DBOPEN (DBU).
Qualifier is ignored.
Buffer must be at least 32 bytes and returns the following (each element is a
halfword or 2 bytes):
Mode 201: Set Number
Mode 201 defines the type of access available for a specific data set.
Qualifier identifies the data set name or number for which the information is
requested.
Buffer returns the following (each element is a halfword or two bytes):
If the data set number is positive, the user class has only read access. If the number is
negative, the user class has both read and write access.
Element Contents
1 0 if BTREEMODE1 is off in the root file
1 if BTREEMODE1 is on in the root file
2 The first byte (8 bits) is always 0. The second byte (8 bits) represents
c
, where
c
is the
current wildcard character. For example, if the current wildcard character is @, the
element's hex value will be $0040, or decimal 64. This is from the root file.
3 Highest B-Tree argument version supported (0 for the first B-Tree release version).
4 Number of sets with B-Trees indices attached.
5 0 if BTREEMODE1 is off for current DBOPEN
1 if BTREEMODE1 is on for current DBOPEN
6 The first byte (8 bits) is always 0. The second byte (8 bits) represents
c
, where
c
is the
current wildcard character. This is for the current DBOPEN.
7...16 (reserved)
Element Contents
1+/Data set number