Compression | Factors to Consider | |
---|---|---|
Record | Page | |
X | Record compression is most effective for the following conditions: • Each record has the potential for containing a large number of repeating characters. For example, a record may contain several fields, all of which may be initialized to blanks by your task when it inserts the record into the file. Record compression is more efficient if these fields are grouped together in the record, rather than being separated by fields containing other values. • The computer running the database engine can supply the extra memory required for compression buffers. • The records are read much more frequently than they are changed. If the fixed length portion of a record is longer than the page size minus overhead, compression is used automatically. Note that you cannot use record compression for key-only files or for files that use blank truncation. | |
X | Page compression is most effective for the following conditions: • Data is highly compressible using a ZIP-type compression algorithm. When the file size can be significantly decreased because of page compression, such as 4 to 1 compression, file performance can be increased significantly. • The pages are read much more frequently than they are inserted, updated, or deleted. Note that the database engine writes data pages to physical storage uncompressed if the data cannot be significantly compressed. | |
X | X | The use of record compression and page compression is most effective when records contain a large proportion of blank space and the pages are read much more frequently than they are inserted, updated, or deleted. |
Options | Allows you to display the File Information Editor, set and clear an owner name, generate statistics reports, and exit the tool. |
Index | Allows you to create and drop indexes. |
Data | Allows you to load data from ASCII files, save data to ASCII files, copy records between data files, and perform a roll forward operation to recover changes made to a data file between the time of the last backup and a system failure. |
Help | Provides access to the Maintenance tool help system. |
Contents | Provides a list of Maintenance tool help topics. |
About | Displays copyright information and the product version number. |
Load Information | Loads information for an existing file. When you load file information, you are not editing the file. Instead, you are loading a copy of the information about that file. |
Create File | Creates a new file based on current information in the dialog box. |
Set To Defaults | Sets the controls to default values. |
Description Comments | If you are creating a description file, allows you to enter notes about the file. |
Help | Displays help for the File Information Editor dialog box. |
Owner Name | Displays the file owner name, if one exists, as a string of asterisks. |
Version | Earliest version of the database engine that can read all of the attributes of the file. For example, if you created a file using the 9.5 database engine but did not use any attributes specific to 9.5, the Maintenance tool displays 9.0 as the version number. See File Version Notes for additional information about file format versions. |
Total Records | Total number of records in the file. |
Control | Description | Range | Default |
---|---|---|---|
Record Length | Specifies the logical data record length (in bytes) of the fixed-length records in a file. For information about record length and overhead, see "Record Length" in Zen Programmer’s Guide. | Minimum is 4 bytes. Maximum is variable. If the record length specified exceeds the page size minus overhead, the database engine automatically tries the next available page size for the file format. If the record length exceeds the maximum page size minus overhead, the engine turns on record compression. | 100 |
Page Size | Specifies the physical page size (in bytes) for the file. | • 512–4096 for file versions prior to 9.0 (a multiple of 512 bytes up to 4096) • 512, 1024, 1536, 2048, 2560, 3072, 3584, 4096, or 8192 for file version 9.0. • 1024, 2048, 4096, 8192, or 16384 for file version 9.5. • 4096, 8192, or 16384 for file versions 13.0 and 16.0. | 4096 |
# Keys | Indicates the number of distinct keys (as opposed to key segments) currently defined in the Editor. Reflects the number of keys in the Key list. | • 0–119 | 0 |
# Segments | Indicates the number of key segments currently defined in the Editor. Reflects the number of segments in the Segment list. | • 0–119 for file versions before 9.5 • 0–420 for file version 9.5 • 0–378 for file versions 13.0 and 16.0 | 0 |
Available Linked Keys | Specifies how many 8-byte place holders you want to reserve for future linked-duplicatable keys. If you are loading information based on an existing data file, this value reflects the number of place holders currently available in that file. (The number of originally reserved place holders is not stored in the file.) | • 0–119 | 3 |
Key-Only | Indicates whether the file is key-only. Not applicable if you turn Record Compression on, if you turn Variable Records on, or if you define more than one key for the file. | On or Off | Off |
Balanced Indexing | Specifies that the file uses the balanced indexing method of managing key pages. | On or Off | Off |
Pre-allocation | Specifies that the file uses preallocated pages. | On or Off | Off |
# Pages | Specifies the number of pages you want preallocated when you create the file. Applicable only if Pre-allocation is turned on. If you are loading information based on an existing data file, this value reflects the number of unused, preallocated pages left in that file. (The number of originally preallocated pages is not stored in the file.) | 1–65535 | 0 |
Record Compression | Specifies that the file uses record compression. Not applicable for key-only files or files that use blank truncation. See also Record and Page Compression. | On or Off | Off |
Page Compression | Specifies that the file uses page compression. See also Record and Page Compression. | On or Off | Off |
Variable Records | Specifies that the file can contain variable-length records. | On or Off | Off |
Blank Truncation | Specifies whether the file uses blank truncation on variable records to conserve disk space. Applicable only if Variable Records is turned on. | On or Off | Off |
Include VATs | Specifies whether the file supports Variable-tail Allocation Tables for faster access to data in very long records. Applicable only if Variable Records is turned on. | On or Off | Off |
% Free Space | Specifies the amount of unused space a file's variable pages must have available before the database engine creates a new variable page. Applicable only if Record Compression or Variable Records are turned on. | 5, 10, 20, or 30 | 5 |
Control | Description | Default |
---|---|---|
Duplicates | Specifies that the key can have duplicate values (linked duplicates). | On |
Modifiable | Specifies that the key value can be modified after creation. Allowing modification of key values does not affect performance. Key pages are only updated if the actual key value changes, not if non-key fields in a particular record are changed. | On |
Repeating Duplicates | Specifies that the database engine uses the repeating duplicates method of storing duplicate key values. | Off |
Sparse Key (Null Key) | A sparse key contains fewer key values than the number of record in the file. To specify which key values are excluded from the index, see the next two controls. Applicable only to keys that contain nullable segments. | Off |
All Segments (Null) | Specifies that if all key segments in the record contain a null value, the database engine does not include that record in the index. Applicable only if Sparse Key (Null Key) is turned on. Equivalent to key flag 0x0008. Whether a segment is evaluated as null is determined solely by the null indicator segment for that field; the contents of the field are not evaluated. | Off |
Any Segment (Manual) | Specifies that if one or more key segments contains a null value, the database engine does not include that record in the index. Applicable only if Sparse Key (Null Key) is turned on. Equivalent to key flag 0x0200. Whether a segment is evaluated as null is determined solely by the null indicator segment for that field; the contents of the field are not evaluated. | Off |
ACS Information | Allows you to specify an alternate collating sequence (ACS) for the key. Applicable only if the Use ACS check box is selected for a segment of the key. | Off |
Unique Values | Indicates the number of unique key values in the file. Applicable only if you are loading information based on an existing data file. | N/A |
Insert | Defines a new key or segment. |
Delete | Removes the highlighted key or segment specification. |
Compress | Renumbers the keys consecutively. You can use this button to remove gaps that result from deleting a key specification. |
Control | Description | Default |
---|---|---|
Data Type | Specifies a data type for the key segment. The NULL data type indicates that the index is one byte Null indicator segment. It must be in a multisegment key and it must precede another key segment that is not a NULL type. The number used in the Btrieve API for this key type is 255. | String |
Position | Specifies by number the relative starting position of the beginning of this key segment in the record. The value cannot exceed the record length. | 1 |
Length | Specifies the length (in bytes) of the key segment. This value cannot exceed the limit dictated by the data type for the segment. The total of key position and key length cannot exceed the record length. | 10 |
Null Value (Hex) | Specifies the null character value (in hexadecimal) for the key segment. Applicable only if the Null Key check box is selected for the key. | Binary zero |
Case Insensitive | Specifies whether the segment is sensitive to case. Applicable only for STRING, LSTRING, and ZSTRING data types or for keys that do not use an ACS. | On |
Descending | Specifies that the database engine sort the key segment values in descending order (that is, from highest to lowest). | Off |
Use ACS | Specifies that the segment uses the alternate collating sequence defined for the key. Applicable only for string, lstring and zstring data types that are case sensitive. | Off |
NULL Value Discrete Ordering | NULL Value Discrete Ordering is used for the null indicator segment (NIS) to determine whether the MicroKernel Engine should treat the NIS as a boolean value, where any non-zero value is considered NULL, or as a one byte integer, where zero is considered non-null and all other values are considered different types of null. In this case they are sorted as discrete values. The Btrieve API uses the NO_CASE flag, 0x0400, to indicate discrete ordering should be performed, because that flag was previously unused for integer values. | Off |
Legend: | = linked duplicates | = repeating duplicates |
Top two lines represent a key length of 100 Middle two lines represent a key length of 50 Bottom two lines represent a key length of 4 |
Control | Description | Default |
---|---|---|
File Name | Specifies a name and path for the file. By default, data files have the .mkd extension. | N/A |
File Type | Specifies the type of file to create. If you are creating a description file, you can use the Index Only option, which creates a description file you can use with the butil tool to add an index to an existing data file. (For more information, refer to Creating Indexes.) | MicroKernel-compatible |
System Data | Determines whether the tool includes system data in the file. If you choose Use engine setting, the tool uses the setting for the system data configuration option described. If you choose No system data, the tool does not create system data, regardless of the engine configuration. If you choose Force system data or Force system data v2, the tool creates system data regardless of the engine configuration. System data v2 requires a 13.0 or 16.0 file version. | Use Engine Setting |
Control | Description | Default |
---|---|---|
ACS Country/Code | No longer used. | N/A |
ACS File | Specifies the fully qualified file name of the alternate collating sequence file. | N/A |
International Sorting Rule | Allows you to select an ISR table for sorting international data. Zen provides a set of already generated ISR tables, which are listed in the programmer's guide. |
Index Type | Specify whether to create an internal or external index. Internal indexes are dynamically maintained as part of the data file. External indexes are separate files you generate as needed. An external index file is a standard data file that contains records sorted by the key you specify. Each record consists of the following: • A 4-byte address identifying the physical position of the record in the original data file • A key value |
Data File | Specify the name of the data file for which you want to create the index. |
External Index File | Specify the name of the file to generate for an external index. Not applicable for internal indexes. |
Key Specification Number in Information Editor to Use | Lists the key numbers defined in the File Information Editor. |
Existing Key Numbers in Data File | Click Refresh Lists to display the key number defined for the file. If the file contains a system-defined log key, this list includes SYSKEY. |
Key Number to Use For Create | Click Refresh Lists to display the key numbers available (that is, not defined for the file). Highlight the key number you want to use when creating the index. If the file contains a system-defined log key (also called system data) but the key has been dropped, this list includes SYSKEY, which you can select to add the system-defined log key to the file again. |
MicroKernel File | Specify the name of the data file from which you want to drop the index. |
Existing Key Numbers | Click Refresh List to display the key number defined for the file. Highlight the number of the key whose index you want to drop. If the file contains a system-defined log key, this list includes SYSKEY, which you can select to drop the system-defined log key from the file. |
Renumber Keys | Renumbers the keys consecutively. Select this check box to remove gaps that result from deleting an index. |
From MicroKernel File | Specifies the name of the existing MicroKernel-compatible file you want to save. |
To Sequential File | Specifies the name of the sequential file to create. |
Use An Index | Uses a specified index when sorting the records for export. By default, the Maintenance tool does not use an index, meaning that records are exported according to their physical position in the data file. |
Internal Index #: Uses the specified key number. Click Refresh Index List to update the available indexes if you change file in the From MicroKernel File box. | |
External Index File: Uses the specified external index. (To create an external index, refer to Creating Indexes.) | |
Direction | Forward: This is the default setting and indicates the tool recovers the file from the beginning. Backward: This option recovers data from the end of the file. Forward and Backward: This option reads the file forward until it fails. Then it starts at the end of the file and reads the file backward until it reaches the record that failed previously or encounters another failure. Backward and Forward: Indicates the tool reads the file backward until it fails. Then it starts at the beginning of the file and reads the file forward until it reaches the record that failed previously or encounters another failure. |
Code | Meaning |
---|---|
SUCCESS_E = 0 | Requested operation succeeded. |
PARTIAL_E = 1 | Requested operation completed, but with errors. |
INCOMPLETE_E = 2 | Requested operation did not complete. |
USAGE_E = 3 | Syntax error in input, display usage screen and exit. |
Command | Description |
---|---|
Preloads pages for a file into cache, returning when either the file is fully cached or the cache is full. Counterpart to the Purge command. | |
Creates a new, empty data file using specifications for an existing file. | |
Sends a request to override the File Close Delay configuration option for files kept open by this setting. | |
Clears the owner name of a data file. | |
Copies the contents of one data file to another. | |
Creates a data file. | |
Drops an index. | |
Endbu | Ends continuous operation on data files defined for backup. |
Creates an external index file. | |
Loads the contents of an unformatted file into a data file. | |
Flushes all unneeded cached pages for a file. Returns immediately if the file has open handles. Counterpart to the cache command. | |
Reads data sequentially from a data file and writes the results to an unformatted file. (The DOS version does not support rollfwd.) Use this command if you have a damaged file. | |
Rollfwd | Recovers changes made to a data file between the time of the last backup and a system failure. See Performing Archival Logging. |
Reads data along a key path and writes the results to a sequential file. | |
Assigns an owner name to a data file. | |
Creates an index. | |
Startbu | Starts continuous operation on files defined for backup. See Logging, Backup, and Restore in Advanced Operations Guide. |
Reports statistics about file attributes and current sizes of data files. | |
Stop (DOS only) | Unloads the MicroKernel Engine and Requester. |
Displays the version of the database engine and requester that is loaded at the server. |
–command | A Maintenance tool command, such as copy. You must precede the command with a dash (–), and you must enter a space before the dash. |
parameter | Information that the command may require. Discussions of the individual commands provide details when applicable. |
@commandFile | Fully qualified file name of a command file. |
Command | Description |
---|---|
Copies the contents of one data file to another. | |
Loads the contents of a sequential file into a data file. | |
Reads data sequentially from a data file and writes the results to a sequential file. | |
Reads data along a key path and writes the results to a sequential file. |
sourceFile | The fully qualified name of the data file from which to transfer records. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
outputFile | The fully qualified name of the data file into which to insert records. The output data file can contain data or be empty. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
/Oowner1 | The owner name of the source data file, if required. If only the output data file requires an owner name, specify /O followed by a blank for owner1 (as shown in the example). Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/Oowner2 | The owner name of the output data file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
unformattedFile | The fully qualified name of the ASCII file containing the records to load into a data file. For Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
outputFile | The fully qualified name of the data file into which to insert the records. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
/Oowner | The owner name for the data file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the data file from which to recover data. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
unformattedFile | The fully qualified name of the ASCII file where the tool should store the recovered records. |
/Oowner | The owner name for the data file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/Q | Indicates whether to replace an existing unformatted file. By default, the Maintenance tool overwrites the existing files. If you specify this option and a file with the same name exists, the tool returns an error message. The tool also checks whether the database engine file to be recovered is extended. If the file is extended, the tool checks for files with the same name as the potential unformatted extension file. If one of those files exists, the tool returns an error message. |
/J | Indicates backward reading of the file. If you specify this option, the tool recovers data from the database engine file using step last and previous operations. The default is forward reading, using step first and next operations. |
/I | Indicates forward reading of the file. Although the default is forward reading, you can use this option to indicate forward and backward reading. This means that if you specify both /I and /J, respectively, the tool reads the file forward until it fails. Then it starts at the end of the file and reads backwards until it reaches the record that failed previously or encounters another failure. If you specify /J first, the tool reads backwards and then reads forward. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the data file containing the records to save. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
unformattedFile | The fully qualified name of the ASCII file where you want the tool to store the records. |
indexFile | The fully qualified name of an external index file by which to save records if you do not want to save records using the default of the lowest key number. |
keyNumber | The key number (other than 0) by which to save records if you do not want to save records using the default of the lowest key number. |
-1 | The specification for saving the records in physical order using the Btrieve Step operations. |
/Oowner1 | The owner name for the source file, if required. If only the index file requires an owner name, specify /O followed by a blank for owner1. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/Oowner2 | The owner name for the index file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/Q | Indicates whether to replace an existing unformatted file. By default, the Maintenance tool overwrites the existing files. If you specify this option and a file with the same name exists, the tool returns an error message. The tool also checks whether the database engine file to be saved is extended. If the file is extended, the tool checks for files with the same name as the potential unformatted extension files. If one of those files exists, the tool returns an error message. |
/J | Indicates backward reading of the file. If you specify this option, the tool recovers data from the database engine file using get last and previous operations. The default is forward reading, using get first and next operations. |
/I | Indicates forward reading of the file. Although the default is forward reading, you can use this option to indicate forward and backward reading. This means that if you specify both /I and /J, respectively, the tool reads the file forward until it fails. Then it starts at the end of the file and reads backwards until it reaches the record that failed previously or encounters another failure. If you specify /J first, the tool reads backwards and then reads forward. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
Command | Description |
---|---|
Creates a new, empty data file using the specifications of an existing file. | |
Overrides the File Close Delay setting. | |
Clears the owner name of a data file. | |
Creates a data file. | |
Drops an index. | |
Creates an external index file. | |
Assigns an owner name to a data file. | |
Creates an index. |
outputFile | The fully qualified file name to use for the new, empty data file. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
sourceFile | The fully qualified file name of the existing data file to replicate.When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
/Oowner | The owner name, if any, for the source data file. Note that an owner name in the source file is not cloned to the output file. If an owner name is needed in the new file, it must be added separately. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/pagecompresson | Turns on page compression for outputFile provided that the Create File Version in the compatibility properties for the database engine is 9.5 or later. |
/pagecompressoff | Turns off page compression for outputFile. This parameter has no effect if sourceFile does not use page compression. |
/recordcompresson | Turns on record compression for outputFile. |
/recordcompressoff | Turns off record compression for outputFile. This parameter has no effect if sourceFile does not contain record compression. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of a single file to be closed. When you run butil on Windows platforms, no path is needed if the file is in the current directory. |
@listFile | The fully qualified name of a text file containing the fully qualified names of files to be closed. Separate these paths with a new line to put them on their own lines. If butil encounters an error in the list file, it stops processing files in the list. |
/Sserver | The name or IP address of a remote server that hosts a database engine. If this parameter is not provided, localhost is assumed. |
sourceFile | The fully qualified file name of the data file. When you run butil on Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
/Oowner | The owner name to clear. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/UIDname | The name of the user authorized to access a database with security enabled. |
/PWDword | The password for the user identified by /UIDname. If /UIDname is given, then /PWDword must be supplied. |
/DBname | The name of the database on which security is enabled. If omitted, the default database is assumed. |
outputFile | The fully qualified file name of the database engine file to create. If the file name is the name of an existing MicroKernel file, this command creates a new, empty file in place of the existing file. Any data that was stored in the existing file is lost and cannot be recovered. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
descriptionFile | The fully qualified name of the description file containing the specifications for the new MicroKernel file. |
Y | N | Indicates whether to replace an existing file. If you specify N but a MicroKernel file with the same name exists, the tool returns an error message. The default is Y. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the file from which you are dropping the index. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
keyNumber | The number of the key to remove. To preserve the original key numbers, add a 128 bias to the key number you specify. |
SYSKEY | Instructs the tool to drop the system-defined log key (also called system data). Dropping the system-defined log key does not delete values from the records; the database engine still assigns unique system-defined log key values to newly inserted records. However, the database engine cannot perform logging for a file where the system-defined log key has been dropped if no user-defined unique keys exist. For this reason, you should use this option only if you suspect that the system-defined log key is corrupt and you intend to add it back. The Sindex command allows you to reuse the system-defined log key once you have dropped it. |
SYSKEY2 | Instructs the tool to drop the second system key (124) for system data v2. Dropping this key does not delete system data from the records, and the engine will continue to maintain the values for new and updated records. However, without the index, you cannot efficiently find recently modified records. For this reason, use this option only if you suspect that the key is corrupt and you intend to add it back. The Sindex command allows you to reuse the system key once you have dropped it. |
/Oowner | The owner name for the file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/UIDname | The name of the user authorized to access a database with security enabled. |
/PWDword | The password for the user identified by uname. Pword must be supplied if uname is used. |
/DBname | The name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the existing file for which to build an external index. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
indexFile | The fully qualified name of the index file in which the database engine should store the external index. |
descriptionFile | The fully qualified name of the description file you have created containing the new key definition. The description file should contain a definition for each segment of the new key. |
/Oowner | The owner name for the data file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/UIDname | Specifies the name of the user authorized to access a database with security enabled. |
/PWDword | The password for the user identified by name. Word must be supplied if name is used. |
/DBname | The name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the data file. When you run butil on Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
/Oowner | The owner name to be set. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
level | The type of access restriction for the data file. The possible values for this parameter are as follows: Note that level must immediately follow the /O parameter. |
0: Requires an owner name for any access mode (no data encryption) | |
1: Permits read access without an owner name (no data encryption) | |
2: Requires an owner name for any access mode (with data encryption) | |
3: Permits read access without an owner name (with data encryption) | |
/L | Designates a long owner name. Owner names are case sensitive and can be short or long. A short owner name can be up to 8 bytes long. The length of a long owner name depends on the file format. For restrictions pertaining to long owner names, see the Procedure topic in Btrieve API Guide for Set Owner (29). |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the existing file for which to build an external index. When you run butil for Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
descriptionFile | The fully qualified name of the description file you have created containing the new key definition. The description file should contain a definition for each segment of the new key. |
SYSKEY | Instructs the tool to add back the system key (125) on a file in which the system key was dropped. |
SYSKEY2 | Instructs the tool to add back the system key (124) for system data v2. |
/Oowner | The owner name for the data file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
sourceFile | The fully qualified name of the data file to be preloaded into cache. For Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
@listFile | The fully qualified name of a text file containing the fully qualified names of files to be preloaded into cache. Separate these paths with a new line to put them on their own lines. If butil encounters an error in the list file, it stops processing files in the list. |
sourceFile | The fully qualified name of the data file to be purged. For Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
@listFile | The fully qualified name of a text file containing the fully qualified names of files to be purged. Separate these paths with a new line to put them on their own lines. If butil encounters an error in the list file, it stops processing files in the list. |
sourceFile | The fully qualified name of the data file for which to report statistics. For Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
/Oowner | The owner name for the data file, if required. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. |
/PROMPT | Indicates that an interactive prompt will be presented for the user to enter the owner name. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |
/JSON | Returns output in JSON format. |
This file format version is reported as ... | ... if one or more of these features are in use |
---|---|
5.x | • Compressed records • Key-only file |
4.x | • Extended key types • Variable length records • Key added by Create Index operation |
3.x | None of the above |
Only Create Dump File | Indicates that only the dump file is to be created, and the roll forward operation is not to be performed. |
Dump File Name | Contains the name of the dump file, which must begin with a slash and not contain a drive letter or server/volume name. |
Data Buffer Length | Indicates the number of data buffer bytes to write to the dump file for each Btrieve operation. |
Key Buffer Length | Indicates the number of key buffer bytes to write to the dump file for each Btrieve operation. |
Display Numbers as HEX | If you select this option, the numbers in the dump file output are formatted as hexadecimal. If you do not select this check box, the numbers are displayed in decimal format. |
Verbose | Includes additional information like user name, network address, and time stamp in the dump file. |
sourceFile | The fully qualified name of a data file for which to roll forward changes. For Windows platforms, you do not need to specify the name of the path if the data file is in the current directory. |
drive | A drive letter for which to roll forward changes. End the volume name with a backslash (\) or slash (/), as in F:\ or F:/. |
@listFile | The fully qualified name of a text file containing the paths of files, volumes, or drives for which to roll forward changes. Separate these paths with a carriage return/line feed. If the Maintenance tool encounters an error, the tool stops rolling forward the current file, but does not roll back the changes already made. If you specify the /A option, the tool continues rolling forward with the next file. |
/LdumpFile | Produces an output file, but does not roll forward. |
/WdumpFile | Rolls forward and produces an output file. |
dumpFile | The file name of the output file to which the Maintenance tool writes a list of logged operations. The default is \blog\broll.lst, relative to the root of the physical drive. The file name cannot contain a drive letter or volume name and must start with a slash (/) or backslash (\). The Maintenance tool places the file on the same volume as the blog.cfg file. |
/TdataLength | Specifies the length of the operation's data buffer to write to the output file. If you do not specify this option, the tool does not include data buffer contents in the output file. |
/EkeyLength | Specifies the length of the operation's key buffer to write to the output file. If you do not specify this option, the tool does not include key buffer contents in the output file. |
/H | Instructs the tool to show numbers in the output file in hexadecimal notation. If you do not specify this option, numbers in the output file are in ASCII format. This option affects the format of the Entry Count, Op Code, Key Number, and Data Length fields. |
/V | Instructs the tool to include additional information (such as the user name, network address, and time stamp) in the output file. |
/O | Specifies the owner name of the data file, if required. An owner name is required if you request an output file of logged operations and the backup copy of the data file has an owner name for read-only access. Use of the /PROMPT option generates an interactive prompt for an owner name upon execution. If more than one file has an owner name, the respective owner names must be separated by commas. |
/A | Specifies that if you are rolling back more than one file and the Maintenance tool encounters an error, the tool continues rolling forward with the next file. When you do not specify this option, the tool stops rolling forward if it encounters an error. The tool does not roll back the changes already made. Note: When you use the /A option, you might want to redirect output to a file, as described in Redirecting Error Messages and Command Files. |
/UID<name> /UIDuname | Specifies the name of the user authorized to access a database with security enabled. |
/PWD<word> /PWDpword | Specifies the password for the user who is identified by uname. Pword must be supplied if uname is specified. |
/DB<name> /DBdbname | Specifies the name of the database on which security is enabled. If omitted, the default database is assumed. |