Command Reference > Infacmd dis Queries > Queries
  

Queries

Use queries to retrieve design-time and run-time objects.
You can retrieve design-time objects from a Model repository or run-time objects that were deployed to a Data Integration Service. To build a query, use query parameters to determine the objects that you want to retrieve. You can make a query more specific by using the where clause and operators.
The following commands accept a query as a command line option:
When you pass a query to a command, the command operates only on the objects that the query returns. If you pass the query name=mapping1 to the command infacmd dis tag, the command assigns tags only to objects with the name mapping1.
To pass a query to the commands, specify the query as a string. For example, see the value for the -q option in the command syntax for the following infacmd dis queryDesignTimeObjects command:
./infacmd.sh dis queryDesignTimeObjects -dn Domain_v299 -un Administrator
-pd Administrator -rs MRS_v299 -rsun Administrator -rspd Administrator
-q "all" -sn DIS_v299