Choosing Multiple Query For Iseries Tasks; Specifying A Query For Iseries Query And Its Library - IBM ISERIES SC41-5210-04 User Manual

Query for iseries use
Table of Contents

Advertisement

9=Run
Runs a query. Query displays a report, prints a report, or puts the data into a database
|
|
file, depending on what is specified in the query definition. For information about running
|
queries, see Chapter 15.

Specifying a Query for iSeries query and its library

To identify the query you want to work with, you can type the name of the query (in the Query prompt) and
the name of the library (in the Library prompt) in which it is to be stored (or is already stored). Or you can
look at a list of query names or library names and then select the name you want— see "Choosing
multiple Query for iSeries tasks".
If you specify the name of a query, Query assumes that it already exists and searches for it in the library
specified in the Library prompt. If you specified a special library name (such as
name (such as
), the first query found with the name you specified is used; libraries are searched in
alphabetical order (except for
If you are creating a query, you do not need to name it unless you want to save it for later use. For more
information on creating queries, see Chapter 3, "Creating a Query for iSeries query definition".

Choosing multiple Query for iSeries tasks

If you position the cursor on the Query prompt and press F4 (Prompt) to show a list, the list contains the
names of all the queries that are in the library (or libraries) indicated by the Library prompt. Only the
queries and libraries for which you have the necessary authority are shown. The following display shows
some sample query names.
Figure 4. Work with Queries Display (Multiple-Column List)
|
You can type any option number (except a 1) beside the name of each query that you want to select from
|
the list. If selecting multiple queries, you can select and mix the options according to the types of work you
need to do. For example, if you need to run a query, delete another query, and copy a third query, you can
|
|
page through the list looking for the query names and select all three options on this display at one time.
You can also type an option number (including 1) and a query name in the top position of the list as well.
|
and
).
Chapter 2. General operating information for Query for iSeries
) or a generic library
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

@server iseries

Table of Contents