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.

CMDBQueryQualifierValueSetStruct structure

The CMDBQueryQualifierValueSetStruct structure holds literal values or the query statement for a nested query.


typedef struct CMDBQueryQualifierValueSetStruct
{
   unsigned int type;
   union
   {
      ARValueList valueSet;
      struct CMDBNestedQueryStruct *query;
   } u;
} CMDBQueryQualifierValueSetStruct;



The CMDBQueryQualifierValueSetStruct structure consists of the following elements:

type

Specifies the type of query value for a SET operation. Depending on the option that is set for type, specify the value for any one of the other members in the structure.

  • 1 -- A set of values specified to compare against in the nested query (CMDB_QUERY_QUAL_VALUESET_TYPE_VALUESET ).
  • 2 -- The inner query to use in the nested query statement (CMDB_QUERY_QUAL_VALUESET_TYPE_QUERY ).

valueSet

The list of literal values for the SET query statement, for example, Model IN "Microsoft Windows XP", "Microsoft Windows 2003", "Microsoft Windows 2000".
This member is filled in if type is set to 1.

query

A pointer to the CMDBNestedQueryStruct structure that holds the inner query in a nested query, for example, "Select computerId from ComputerSystem where locationId in (select locId from PhysicalLocation where LocName != "Sunnyvale")".
This member is filled in if type is set to 2.

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

Comments