Database Compression Using the oazip Utility
OpenAccess supports the ability to save the design databases in a library in a compressed form.
This utility provides the following functionality:
-
Processes the OpenAccess databases in a library and compresses them. The compression control value of the library is updated.
-
Processes the OpenAccess databases in a library and decompresses the ones that are in compressed form. The compression control value of the library is reset or updated.
-
Provides the value of the compression control attribute of a library.
-
Scans the OpenAccess databases in a library and reports the databases that do not match the compression control attribute of the library.
-
Scans the OpenAccess databases in a library and updates any databases that did not match the compression control attribute of the library.
Command Syntax
To run oazip, enter the following:
oazip -lib library {-compress|-decompress|-check|-query|-update} [Optional Arguments]
Arguments
You can use the -help or -h argument to display command line help. The command line arguments are described in the table below.
|
Required Argument
|
|
-lib <name>
|
This required argument specifies the name of the library to process. If this argument is not specified, an error message gets displayed.
|
|
One of the Following Arguments is Required
|
|
-compress
|
If this option is specified, the utility processes the OpenAccess databases in a library, compress the ones in uncompressed form, and reset the compression control value of the library.
|
|
-decompress
|
If this option is specified, the utility processes the OpenAccess databases in a library, decompress the ones in compressed form, and reset the compression control value of the library.
|
|
-query
|
If this option is specified, the utility reports whether the compression control is specified for the library and what level it is set to.
|
|
-check
|
If this option is specified, the utility reports the OpenAccess databases in the library that are inconsistent with the compression control setting of the library. If there is no compression control specified, the utility lists the databases that are in compressed form. If the compression control is specified, the utility lists those databases that are either in uncompressed form or were written using a compression level different than what the compression control is set to.
|
|
-update
|
If this option is specified, the utility processes the OpenAccess databases in a library and update the ones that are inconsistent with the compression control value of the library.
|
|
Optional Arguments
|
|
-h or -help
|
Display usage information.
|
|
-compressLevel <level>
|
This option specifies the compression level to use for the library. Compression levels refer to the amount of effort the compression algorithm uses to when compressing data. Higher values do not necessarily correspond to better compression efficiency. Compression levels are specified by an integer value between 1 and 9, inclusive. The default value of 1 is suitable for most applications.
|
|
-logFile <file>
|
Specifies the log filename. If this option is omitted, the log filename defaults to oazip.log.
|
|
-noInfo <msgIds>
|
Suppresses the specified INFO messages. msgIds is a quoted, space separated list of numbers. Each number in the list represents the numerical portion of the ID for the message you want to suppress. None of the numbers in the list may be zero. Suppressed messages do not appear on the terminal or in the log file.
|
|
-noWarning <msgIds>
|
Suppresses the specified WARNING messages. msgIds is a quoted, space separated list of numbers. Each number in the list represents the numerical portion of the ID for the message you want to suppress. None of the numbers in the list may be zero. Suppressed messages do not appear on the terminal or in the log file and are not included in the total of WARNING messages displayed in the summary.
|
|
-templateFile <file>
|
Specifies a file containing arguments to oazip. You can specify a template file instead of entering a string of arguments on the command line.
If you specify a template file, arguments on the command line have precedence over arguments specified in the file. So, if the same argument exists in the template file and in the command line, the translator uses the argument on the command line.
Specify arguments in a template file as follows:
-
Enter arguments in the template file without a dash (-) before the argument.
-
Enter each argument and value pair on a single line.
-
Separate the argument from its value using a space or a tab.
-
Designate comment lines with a
# sign as the first character in the line.
Sample Template File
# oazip command line arguments:
lib libName
logFile myoazip.log
compress
|
|
-v
|
Prints tool, format, and library version information.
|
|
-version
|
Prints tool and format version information.
|
Related Topics
Compressing a Library Using Library Manager
Return to top