Previous Topic: Using CommandsNext Topic: Command Summary


Using Operands

A few commands allow you to add specifications (operands) to clarify the command. For instance, if you want to see a list of all the queries in your private library whose names begin with the letter d, you would type:

LIST queries private d

If you enter a command requiring operands without entering any operands, CA Dataquery displays a panel called a command prompter that you can use to add the operands. For example, if you enter only LIST and press Enter, you see the following panel.

 =>  ------------------------------------------------------------------------DQAD0  DATAQUERY:  LIST COMMAND  LIST ALL     PRIVATE                     A   (1)       (2)                      (3)  ----------------------------------------------------------------------------  (1) Select a        (2) Select the type    (3) Enter 1 to 32 letters of the      Directory Type:     of Query Library:      alphabet to indicate the                                                 beginning of the display.       ALL (Queries       PRIVATE         and dialogs)     PUBLIC       QUERIES            BOTH (Public and private)       DIALOGS            A User (Enter ID)       TABLES  -----------------------------------------------------------------------------  <PF1> HELP         <PF2>  RETURN

Operation

To enter the operands, use the Tab key to move the cursor to each numbered field and type a valid operand from the list below the field, or accept the defaults shown. Then press Enter to see the command result. For the preceding sample, CA Dataquery will display a directory listing of all items for the named user, beginning the list with the letter a.

Complete instructions on operating the prompter panels can be found in the CA Dataquery Reference Guide.