Queries let you quickly find handheld devices that match criteria specified in the query.
Using queries, administrators can save time by automatically creating handheld groups populated with handheld devices that have the same attributes.
For example, you can create a group from a query that contains all devices that have:
A specific processor type (for example, Intel* StrongARM)
RAM greater than 8 MB but less than 64 MB
A specific version of an application installed
You can define separate queries for BlackBerry, Palm OS, and Windows CE devices, but you cannot create a single query that returns all types of devices.
The following sections contain additional information about creating queries:
You create queries in the ZENworks Handheld Management Inventory Viewer.
In Novell ConsoleOne®, right-click a handheld device object, click
, then click .Click
, then click to display the Add Query window.Type a name for the query.
Click
in the drop-down list to create a query for Palm OS devices.or
Click
in the drop-down list to create a query for Windows CE devices.or
Click
in the drop-down list to create a query for BlackBerry devices.Click the
button .The following dialog box appears if you are querying on Windows CE devices.
Select the first object you want to make part of the query, then click
.The first column lists the attributes you can make part of the query. Click the second column to display a down-arrow, click the down-arrow, then select the operator that you want to use. When you click the third column, a browse button displays. Click the browse button, then select a value for the query.
Select the attributes, operator, and values of the object that you want ZENworks Handheld Management to query on, then click
.If you want to the query to contain multiple objects, click the
button again to add a new object.NOTE:Select the statements and click the parenthesis button if you want to group statements using parentheses.
When you select multiple attributes to query on, be aware that they are filtered by the first object you pick.
For example, if the first attribute you select is OS Version = 3.5 and the second object you select is Free RAM, when you choose a specific value for Free RAM, the only values in the list are handheld devices running OS version 3.5.
If you want to review the results of the query that you have defined, click
. The result is displayed in the Test Query dialog box.Click
to save the query.Logical operators in a query allow you to refine or expand the scope of the query. ZENworks Handheld Management provides the following logical operators:
Table 3-1 Logical Operators provided by ZENworks Handheld Management
If you insert multiple objects for querying, ZENworks Handheld Management automatically adds an AND operator between the two object statements.
When evaluating a query, the following order of operations is used:
Expressions in parentheses
Expressions negated by NOT
Expressions joined by AND
Expressions joined by OR