Use the QbCloseCatalog API or the CLOSE QBIC CATALOG command
to close a QBIC catalog. The catalog must be open before you close it.
Using the API: When you issue the QbCloseCatalog API call, specify the catalog handle. For example:
QbCatalogHandle CatHdl; rc=QbCloseCatalog( CatHdl); /* catalog handle */
Using the command line: The CLOSE QBIC CATALOG command acts on the currently open catalog. In the following example, the command is used to close the currently open QBIC catalog:
CLOSE QBIC CATALOG