You can import metadata from the Data Warehouse Center to provide information about the data in a warehouse for the users of the warehouse. You can import metadata from partner applications that also provide some cataloging facilities.
Import metadata into the Information Catalog Manager involves the following tasks:
When you import metadata into an information catalog, you can import the tag language in two formats:
You can import metadata from tag language files that are in MDIS format or in the format used by the Information Catalog Manager and the Data Warehouse Center. See Information Catalog Manager object types for mappings of the Information Catalog Manager object types to MDIS names. For more information on MDIS tag language format, visit the Meta Data Coalition's Web site at http://www.MDCinfo.com.
If you are using MDIS with other products and Visual Warehouse 3.1, see the note in Exporting tag language files.
If you want to convert MDIS tag language into an Information Catalog Manager tag language file, see Information Catalog Manager Administration Guide.
To import an MDIS tag language file directly into your information catalog, enter the Information Catalog Manager command from a an MS-DOS command prompt. Adhere to the following rules for the command syntax:
DGUIDE /USERID userid /PASSWORD password /DGNAME dgname /MDIS_IMPORT filename /LOGFILE filename name/ADMIN Optional keywords: /TRACE 0|1|2|3|4 |
For example, to import MDIS metadata into your information catalog, type the following command (do not enter a line break):
DGUIDE /USERID longods /PASSWORD secret /DGNAME ICMSAMP /ADMIN /MDIS_IMPORT c:\mdis.tag /LOGFILE c:\mdis.log
If the information catalog is local, specify the database name. If the information catalog is remote, specify the alias under which it was cataloged.
Example:
/DGNAME ICMSAMP
Specifies the file destination for messages that the Information Catalog Manager generates during MDIS import or MDIS export. Unless you specify a full drive, path, and file name, the Information Catalog Manager places the file in the path specified on the DGWPATH environment variable. You must specify a fixed drive.
Example:
/LOGFILE d:\tagfile.log
Example:
/MDIS_IMPORT d:\tagfile.tag
The information catalog into which you import MDIS metadata must include, but is not limited to, valid MDIS object type definitions.
Example:
/PASSWORD secret
Passwords are case-sensitive for accessing databases on the following operating systems, you must type them exactly as specified.
Example:
/USERID longods
Use the DGUIDE command to open an information catalog and import a tag language file from an MS-DOS command prompt. When you use the DGUIDE command, keep in mind the following rules for the command syntax:
Figure 12. DGUIDE command parameters for opening an î and importing metadata
DGUIDE /USERID userid /PASSWORD password /DGNAME dgname Optional keywords: /ADMIN /TRACE 0|1|2|3|4 /IMPORT filename /LOGFILE filename /RESTART B|C Optional import keyword: /ICOPATH iconpath |
The following example shows the required parameters you specify to open the sample information catalog as an administrator.
DGUIDE /USERID longods /PASSWORD secret /DGNAME ICMSAMP /ADMIN
The following list shows the parameters you can add to the DGUIDE command. Optional and required keywords for importing a tag language file are noted.
If the information catalog is local, give the database name. If the information catalog is remote, give the alias under which it was cataloged.
Example:
/DGNAME ICMSAMP
Indicates that you are importing icons and specifies the icon path that the import function will use. The Information Catalog Manager assumes that the path is the same as the one where you installed the Information Catalog Manager unless you specify a full drive and path. You must specify a fixed drive.
Example:
/ICOPATH d:\icons\
Example:
/IMPORT d:\tagfile.tag
This keyword bypasses the Information Catalog Manager user interface and performs the import function as a batch process.
Specifies the file destination for messages the Information Catalog Manager generates during import. Unless you specify a full drive, path, and file name, the Information Catalog Manager places the file in the path specified on the DGWPATH environment variable. You must specify a fixed drive.
Example:
/LOGFILE d:\tagfile.log
Example:
/PASSWORD secret
Passwords are case-sensitive for accessing databases on the following operating systems, you must type them exactly as specified.
Indicates which option the import function uses. The valid options are:
Example:
/USERID longods