When you select option 6 (Print definition) on the Work with Queries display and press the Enter key, the
query definition is printed immediately.
Information printed for a Query for iSeries query definition
The printout includes the following information:
v
A header at the top of each page. This header lists information about the system you are using and
when the definition was printed.
v
The query name and CCSID.
v
The library name.
v
Any text about the query.
v
Constants attributes (decimal point separator, date format and separator, time format and separator).
v
The processing options.
v
Collating sequence information.
v
Assorted warnings.
v
The file identifier(s). For each file identifier, the printout includes the following:
– The file name
– The name of the library
– The name of file member
– The record format selected for the file
v
The join tests, if more than one file is used, and the type of join used.
v
Any result fields, their expressions, length and decimal positions, and column headings.
v
Record selection tests.
v
Selected fields, their sequence, sort priority and sort type, and any text.
v
Column formatting and summarizing.
v
Any report breaks.
v
The selected output type:
– If the report is to be printed, printer information is shown.
– If the output is to be put in a database file, database file information and the field layout are shown.
v
The form of output selected, detailed or summary-only, and wrapping specifications.
If you print the definition using option 6 (Print definition) on the Work with Queries display, the printout
includes information about any output type selected for the query. For example, if database file output was
selected when the query was created and the query was later changed so that the output is to be printed,
the printout of the query definition would include both database file and printer information. If you print the
definition using any method except option 6, only current information is printed.
If you print the query definition while using the RUNQRY command (by specifying the PRTDFN(YES)
parameter), the information in the printed definition reflects any temporary changes that you specify using
the RUNQRY parameters or choices that Query for iSeries resolves at run time. For example, you might
specify an input file name, make changes to the record selection tests, specify a different type of output, or
define your query to use the running job’s sort sequence. There might be missing information, when
compared to an option 6 listing, because Query for iSeries did not need to use all the selected fields to run
the query.
In addition to information about the query definition, if the query produces output to a database file, a
description of the record format layout is also printed.
Chapter 16. Working with Query for iSeries query definitions
181
Содержание ISERIES SC41-5210-04
Страница 1: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Страница 2: ......
Страница 3: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Страница 12: ...x Query for iSeries Use V5R2 ...
Страница 14: ...2 Query for iSeries Use V5R2 ...
Страница 18: ...Figure 3 Major Tasks on the Query Menu and the Work with Queries Display 6 Query for iSeries Use V5R2 ...
Страница 32: ...20 Query for iSeries Use V5R2 ...
Страница 38: ...26 Query for iSeries Use V5R2 ...
Страница 44: ...32 Query for iSeries Use V5R2 ...
Страница 116: ...104 Query for iSeries Use V5R2 ...
Страница 122: ...110 Query for iSeries Use V5R2 ...
Страница 146: ...134 Query for iSeries Use V5R2 ...
Страница 150: ...138 Query for iSeries Use V5R2 ...
Страница 174: ...162 Query for iSeries Use V5R2 ...
Страница 178: ...166 Query for iSeries Use V5R2 ...
Страница 196: ...184 Query for iSeries Use V5R2 ...
Страница 198: ...186 Query for iSeries Use V5R2 ...
Страница 204: ...192 Query for iSeries Use V5R2 ...
Страница 205: ...Part 4 Appendixes Copyright IBM Corp 2000 2002 193 ...
Страница 206: ...194 Query for iSeries Use V5R2 ...
Страница 210: ...198 Query for iSeries Use V5R2 ...
Страница 242: ...230 Query for iSeries Use V5R2 ...
Страница 256: ...244 Query for iSeries Use V5R2 ...
Страница 270: ...258 Query for iSeries Use V5R2 ...
Страница 272: ...260 Query for iSeries Use V5R2 ...
Страница 292: ...280 Query for iSeries Use V5R2 ...
Страница 293: ......
Страница 294: ... Printed in U S A SC41 5210 04 ...