Purpose
Entering LIST on the command line and pressing Enter displays the List Command prompt panel that prompts you for the directory type, library type (if a query or term), and a list starting position. You can enter LIST followed by operands and immediately display a directory of queries, terms, dialogs, tables, or saved sets. An alternative command is DIRECTORY which you can use to display a list of directories for selection. DIRECTORY ;l command usage was discussed previously in this chapter.
When to Use It
If you want to display a list of queries, dialogs, terms, tables, or saved sets.
Syntax
The full format for the LIST permits three operands. No operand is required because entering LIST alone displays a prompt panel.
►►─ LIST ─┬──────────────────┬─┬───────────────┬─┬─────────────────────┬──────►◄ └─ directory-type ─┘ └─ member-type ─┘ └─ starting-position ─┘
General Lists
|
Enter |
With |
When You Want to: |
|---|---|---|
|
LIST |
No operand |
Display the List Command prompt panel. |
|
LIST |
all |
Display the main directory listing all public members for your group assignment (if any) and your own private members. |
List Queries
|
Enter |
With |
When You Want to: |
|---|---|---|
|
LIST |
QUERIES PUBLIC start-with |
Display the Directory of Queries listing all public queries starting with the letters designated, if any. |
|
LIST |
QUERIES PRIVATE start-with |
Display the Directory of Queries listing your private queries starting with the letters designated, if any. |
|
LIST |
QUERIES BOTH start-with |
Display the Directory of Queries listing your private queries and all public queries starting with the letters shown, if any. |
|
LIST |
QUERIES user-id start-with |
Display the Directory of Queries listing another user's public queries starting with the letters shown, if any. |
List Terms (DQL Mode only)
|
Enter |
With |
When You Want to: |
|---|---|---|
|
LIST |
TERMS PUBLIC start-with |
Display the Directory of Terms listing all public terms starting with the letters shown, if any. |
|
LIST |
TERMS PRIVATE start-with |
Display the Directory of Terms listing your private terms starting with the letters shown, if any. |
|
LIST |
TERMS BOTH start-with |
Display the Directory of Terms listing your private terms and all public terms starting with the letters shown, if any. |
|
LIST |
TERMS user-id start-with |
Display the Directory of Terms listing another user's private terms starting with the letters shown, if any. |
List Dialogs
|
Enter |
With |
When You Want to: |
|---|---|---|
|
LIST |
DIALOGS PUBLIC start-with |
Display the Directory of Dialogs listing all public dialogs starting with the letters shown, if any. |
|
LIST |
DIALOGS PRIVATE start-with |
Display the Directory of Terms listing your private dialogs starting with the letters shown, if any. |
|
LIST |
DIALOGS BOTH start-with |
Display the Directory of Dialogs listing your private dialogs and all public dialogs starting with the letters shown, if any. |
|
LIST |
DIALOGS user-id start-with |
Display the Directory of Dialogs listing another user's private dialogs starting with the letters shown, if any. |
List Tables
|
Enter |
With |
When You Want to: |
|---|---|---|
|
LIST |
TABLES start-with |
Display the Directory of Tables panel listing all production status tables you can access, beginning with the starting characters you entered, if any. |
List Sets (DQL Mode only)
|
Enter |
With |
When You Want to: |
|---|---|---|
|
LIST |
SETS |
Display the Directory of Sets panel listing all saved sets you can access. |
Example
=> list Enter the sets attributes and press PF3 to save ----------------------------------------------------------------------DQA80 DATAQUERY: SAVE ACTIVE FOUND SET NAME: ________ DESCRIPTION: ____________________ ----------------------------------------------------------------------------
Result
Entering LIST without an operand displays the following prompt panel.
=> ------------------------------------------------------------------------DQA10 DATAQUERY: LIST COMMAND LIST ALL BOTH A (1) (2) (3) ----------------------------------------------------------------------------- (1) Select a (2) Select the type (3) Enter 1 to 32 letters of the Directory Type: of Query or Term alphabet to indicate the Library: beginning of the display. ALL (Queries, Not valid for LIST SETS. terms, and PRIVATE dialogs) PUBLIC QUERIES BOTH (Public and private) TERMS An Operator (Enter ID) DIALOGS TABLES SETS ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN
|
Copyright © 2014 CA.
All rights reserved.
|
|