Information Catalog Manager Administration Guide

Accessing the Information Catalog Manager sample data

This section describes how you can create a sample information catalog that contains both the predefined object types and objects of those types. It also describes how to import only the predefined object types.

Creating a sample information catalog

You can help your users learn to use the Information Catalog Manager by setting up a sample DB2 UDB for Windows NT information catalog with which they can experiment. The sample information catalog includes all the predefined Information Catalog Manager object types, and objects of those types. The objects describe information that is typically required in a business environment. The Information Catalog Manager User's Guide uses the CelDial business scenario to introduce the Information Catalog Manager by using examples from this sample information catalog.

You create the DB2 database on the platform you want and then use the Create Information Catalog utility to create the sample information catalog. The sample information catalog utility populates your newly created information catalog with the sample data.

To create the sample information catalog:

  1. To define a new information catalog, follow the steps for your database system in Chapter 1, Setting up an information catalog or in the online help. When you create it, name your sample information catalog ICMSAMP. If an information catalog named ICMSAMP already exists, name the new information catalog something else, but be sure to notify your users of the new name.
  2. At an MS-DOS command prompt, enter:
    X:\Program Files\SQLLIB\SAMPLES\SAMPDATA\DGWDEMO
    
    where X is the drive where you installed the DB2 Universal Database.

    To get information about additional parameters that you can specify with this command, type DGWDEMO ? at the MS-DOS command prompt.

  3. Press Enter. You can change any, or all, of the following four default options.

    1
    The fully qualified path for the Web server on which you installed the Information Catalog Manager for the Web (for example, dgntserv2.stl.ibm.com) if applicable.

    2
    The administrator user ID for the information catalog.

    3
    Passwords are case-sensitive for accessing databases on the following operating systems, you must type them exactly as specified.

    • AIX
    • Windows NT and Windows 2000
    • Solaris Operating Environment

    4
    The name of the information catalog that you created for the sample data. This is ICMSAMP, unless you named it differently because you have an existing catalog named ICMSAMP.

    After you press Enter the last time, the utility proceeds to load the sample data. The utility notifies you when it finishes loading the sample data. The sample information catalog is now ready to use.

Note for Information Catalog Manager for the Web users: The sample data in the \SQLLIB\SAMPLES\SAMPDATA directory must be copied to the Information Catalog Manager for the Web server. You must copy it to a directory named ICMSAMP under the root directory. For example:

Initializing your information catalog with the predefined object types

If you were unable to import the common object types when you created your information catalog, and you do not want to import the entire sample tag language file, you can import the object types using the following command at an MS-DOS command prompt:

X:Program Files\SQLLIB\SAMPLES\SAMPDATA\DGWDEMO /T userid password dgname

X
The drive where you installed the DB2 Universal Database.

userid
The administrator user ID for the information catalog.

password
The password for userid.

Passwords are case-sensitive for accessing databases on the following operating systems, you must type them exactly as specified.

dgname
The name of the information catalog that you want to initialize with the predefined object types.


[ Top of Page | Previous Page | Next Page ]