The QUERY command parameter list must include a pointer to a data structure (parmptr) that defines the query to be processed. This data structure, in turn, contains pointers to character strings that specify from where data is to be retrieved (that is, which CSI, zones, and entry types) and, optionally, a list of subentries and a filter, which allow you to specify conditions that will be used to determine which entries are retrieved.
Input is accepted in mixed case. It is folded to uppercase when the command is processed.
A zero (0) value indicates that the calling program has already allocated a global CSI data set as the SMPCSI DDNAME. That allocation is used and the csi parameter is ignored.
Except for the asterisk (*), these values can be used together and with specific zone names, provided that all values are separated by commas or blanks. The asterisk (*) must be used alone.
GLOBAL, ALLTZONES
ALLTZONES, ALLDZONES
ALLTZONES, MY1DLIB, MY2DLIB
ALLTZONES MY1DLIB, MY2DLIB
GLOBAL, *, ALLTZONES
A zone can be specified only once in the zone parameter. A specific DLIB zone name along with the ALLDZONES keyword or a specific target zone name along with the ALLTZONES keyword does not cause a message to be issued. However, processing for the duplicated zone names will be done only once.
Spaces can be used freely between values and commas.
Input is accepted in mixed case. It is folded to uppercase when the command is processed.
The specific zone name can be a ZONESET name. The command will first check whether the name is a ZONESET. If not, it will check the ZONEINDEX.
An entry can be specified only once in the entry parameter.
Spaces can be used freely between entry names and commas.
Input is accepted in mixed case. It is folded to uppercase when the command is processed.
The entry types specified must be valid CSI entry types. Refer to Valid entry types for a list of the valid types.
A subentry can be specified only once in the subentry parameter.
Spaces can be used freely between subentry names and commas.
Input is accepted in mixed case. It is folded to uppercase when the command is processed.
Refer to Valid subentry types for more details.
subentry operator 'value'
For example, FMID = 'HP10230' or INSTALLDATE >= '07203'.
Input is accepted in mixed case. The subentry types are folded to uppercase when the command is processed. The fixed values are not changed.
Filter is an optional parameter. When no filtering is desired, set the length field (filterlen) to zero (0).
Refer to Filter parameter syntax for a detailed description of the syntax of the filter parameter.