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
Summary of Contents for @server iSeries
Page 1: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 2: ......
Page 3: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 12: ...x Query for iSeries Use V5R2 ...
Page 14: ...2 Query for iSeries Use V5R2 ...
Page 32: ...20 Query for iSeries Use V5R2 ...
Page 38: ...26 Query for iSeries Use V5R2 ...
Page 44: ...32 Query for iSeries Use V5R2 ...
Page 116: ...104 Query for iSeries Use V5R2 ...
Page 122: ...110 Query for iSeries Use V5R2 ...
Page 146: ...134 Query for iSeries Use V5R2 ...
Page 150: ...138 Query for iSeries Use V5R2 ...
Page 174: ...162 Query for iSeries Use V5R2 ...
Page 178: ...166 Query for iSeries Use V5R2 ...
Page 196: ...184 Query for iSeries Use V5R2 ...
Page 198: ...186 Query for iSeries Use V5R2 ...
Page 204: ...192 Query for iSeries Use V5R2 ...
Page 205: ...Part 4 Appendixes Copyright IBM Corp 2000 2002 193 ...
Page 206: ...194 Query for iSeries Use V5R2 ...
Page 210: ...198 Query for iSeries Use V5R2 ...
Page 242: ...230 Query for iSeries Use V5R2 ...
Page 256: ...244 Query for iSeries Use V5R2 ...
Page 270: ...258 Query for iSeries Use V5R2 ...
Page 272: ...260 Query for iSeries Use V5R2 ...
Page 292: ...280 Query for iSeries Use V5R2 ...
Page 293: ......
Page 294: ... Printed in U S A SC41 5210 04 ...