Information Catalog Manager Programming Guide and Reference


Appendix A. Sample program DG2SAMP.C

The Information Catalog Manager provides a sample program, DG2SAMP.C, that you can compile, link, and run. DG2SAMP.C is in your \SQLLIB\LIB directory on the drive where DB2 UDB is installed. This sample program lets the user change the name of an object instance by:

  1. Getting a list of the object types in your information catalog.
  2. Finding the object you are looking for if it exists.
  3. Getting information about the instance.
  4. Updating the value of the Name property.

This program issues the following API calls:


[ Top of Page | Previous Page | Next Page ]