Use the istool glossary import command to import your business glossary assets from a file of previously archived assets, or to import a glossary model (*.ndm) file from IBM® InfoSphere® Data Architect.
You must have the Business Glossary Administrator role to import business glossary assets.
You must run the command from a computer on the client tier where IBM InfoSphere Business Glossary is installed.
istool glossary import
authentication parameters
[generic parameters]
-filename pathname
[-format XML | XMI | CSV | NDM]
[-mergemethod overwrite | ignore | mergeignore | mergeoverwrite]
[-mappingfile pathname]
Specifies the format of the import file. By default the format is XML.
XML, XMI, and CSV files must contain business glossary content that adheres to the format required by InfoSphere Business Glossary. For more information about format, download the sample files available from the InfoSphere Business Glossary import and export wizard or see Importing and exporting glossary content.
Files imported with the NDM option must be glossary model files (*.ndm) that were created with or imported into IBM InfoSphere Data Architect. The glossaries and words in the glossary model file are converted into InfoSphere Business Glossary categories and terms according to the mapping described in Generating business glossary content from InfoSphere Data Architect glossary models.
istool glossary import –dom ABC:9080 –u xmetauser –p xmetapwd -filename c:\bgexp.csv -format CSVThe following command imports all the business glossary assets contained in the XML format file named bg x imp.xml. If assets with the same name are encountered in the target repository, they are overwritten with the imported assets:
istool glossary import –dom ABC:9080 –u xmetauser –p xmetapwd -filename "c:\bg x imp.xml" -format XML -mergemethod overwriteThe following command imports a glossary model created with InfoSphere Data Architect. It converts the glossary model elements in the file named NDMTest.ndm to InfoSphere Business Glossary categories and terms.
istool glossary import -dom ABC:9080 -u xmetauser -p xmetapwd -format ndm -f "C:\tmp\NDMTest.ndm"