Purpose
The EDIT command allows you to edit any private member you own or copy and edit any member you can access, if you give the copied version a new name. You become the new member's author. You can enter the command with a valid existing member name and display the CA Dataquery Editor with the current version of the member. Or, you can enter EDIT * to edit the active query. If you enter EDIT without an operand and press Enter, CA Dataquery presents the Edit Command prompt panel. From that panel, you can see a list of public members that you can access. See Panels for details on using the Edit Command prompt panel or the Directory of Queries and Terms.
When to Use It
When you want to copy and change an existing member or make changes to one of your private members.
Syntax
|
Enter |
With |
When You Want to: |
|---|---|---|
|
EDIT |
* |
Display the active query or dialog on the Editor panel. If you do not own it, you can change it and give it a new name to make your own version. |
|
EDIT |
member-name |
View an existing member and copy it by giving it a new name or, with authorization, update an existing query with changed text. |
|
EDIT |
No operand |
Display the Edit command prompt panel to determine command syntax or display a directory. |
Example
=> EDIT ------------------------------------------------------------------------DQKE0 DATAQUERY: ADMINISTRATIVE MENU ---------------------------------------------------------------------------- ENTER DESIRED OPTION NUMBER ===> __ 1. PROFILE - Display and update user profile
DQL Result
=> DQ022E - THERE IS NO ACTIVE QUERY ------------------------------------------------------------------------DQD00 DATAQUERY: EDIT COMMAND EDIT ACTIVE-QUERY (1) ----------------------------------------------------------------------------- (1) Enter 'ACTIVE-QUERY' to display query currently in use or enter the name of any query, term, or dialog. Press <Enter> to display it for editing. Press <PF3> for a list of queries. ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> LIST QUERIES
SQL Result
=> DQ022E - THERE IS NO ACTIVE QUERY ------------------------------------------------------------------------DQD00 DATAQUERY: EDIT COMMAND EDIT ACTIVE-QUERY (1) ----------------------------------------------------------------------------- (1) Enter 'ACTIVE-QUERY' to display query currently in use or enter the name of any query, term, or dialog. Press <Enter> to display it for editing. Press <PF3> for a list of queries. ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> LIST QUERIES
|
Copyright © 2014 CA.
All rights reserved.
|
|