IBM SC41-5210-04 Server User Manual


 
When you finish making changes on all the displays you want to change, Query returns you to the Define
the Query display, where the options now defined for your query are shown witha>totheleft of the
option. You can choose more options to make more changes, or you can press F3 to end the process of
changing the query.
From the Exit This Query display, you can do either or both of the following:
v Save the query definition with the changes you have made.
v Run the query with the changes you have made.
Exit This Query
Type choices, press Enter.
Save definition . . . Y Y=Yes, N=No
Run option...... 1 1=Run interactively
2=Run in batch
3=Do not run
For a saved definition:
Query ....... __________ Name
Library ..... ________ Name, F4 for list
Text . . . __________________________________________
Authority ..... *LIBCRTAUT *LIBCRTAUT, *CHANGE, *ALL
*EXCLUDE, *USE
authorization list name
F4=Prompt F5=Report F13=Layout F14=Define the query
You can change any combination of the Query, Library, and Text prompts. If you save the query definition,
these changes have the following effects:
Query Name and/or
Library Name Changed
Query Name and
Library Name Unchanged
Existing query is not changed Existing query is changed
New query created with new name and/or in different
library
New query definition replaces existing definition
Text and authority applies to new query Text and authority applies to new definition of the query
If you are replacing a query, you cannot specify authorization list name authority; you must use one of the
special names (*CHANGE, *ALL, *EXCLUDE,or*USE) or blanks (no change).
If you choose not to save the query definition, changes to the following prompts have the following effects:
Prompt Changed Effect
Query name None
Library name None
Text Text prints on cover page if you choose to run the query and printer is the
selected output device
Authority None
Chapter 16. Working with Query for iSeries query definitions 175