This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBExportItemStruct structure

The CMDBExportItemStruct data structure holds a single item to export.


This is a legacy structure of the BMC Atrium CMDB API, and has been replaced by newer functions, CMDBExportData and CMDBExportDef.

typedef struct CMDBExportItemStruct
   unsigned int itemType; 
   CMDBClassNameId classNameId;
   union {
      char *qualifier;
      unsigned long exportOption;
   } u;} CMDBExportItemStruct;

The CMDBExportItemStruct structure consists of the following elements:


An integer value indicating the type of information to export.

  • 1 --Export class definitions (meta data) (CMDB_ITEM_TYPE_META_DATA ).
  • 2 --Export instance data (CMDB_ITEM_TYPE_INSTANCE_DATA ).


The namespace name and the class name of the class that contains the items to export.


A query that determines the set of entries to export. The qualification can include one or more attributes and any combination of conditional, relational, and arithmetic (numeric data types only) operations. This item is applicable only if CMDB_ITEM_TYPE_INSTANCE_DATA is set.


An integer value indicating the type of classes to export. If you specified the CMDB_ITEM_TYPE_INSTANCE_DATA value for itemType, provide an export option. This option is applicable only if CMDB_ITEM_TYPE_META_DATA is set. To use more than one export option, add the value of each option. For example, 3 indicates the class (1 ) and superclasses (2 ) will be exported. The default value for this parameter is NULL, which means all classes are exported.

  • 1 --Export the class only (CMDB_EXPORT_OPTION_CLASS_ONLY ).
  • 2 --Export superclasses (CMDB_EXPORT_OPTION_SUPER_CLASSES ).
  • 4 --Export subclasses (CMDB_EXPORT_OPTION_SUB_CLASSES ).

Was this page helpful? Yes No Submitting... Thank you