output definition information. If no field selections are made, Query produces all fields for a database
file. Result fields are ordered last instead of first, as they are for printed or displayed output.
Even though these characteristics may be defined in the query, they are not used unless your
Output
type
choice specifies either displayed or printed output. (Because the query definition can contain
definitions for all three types of output at the same time, you have the flexibility to use the same query
for more than one type of option. All you have to do is change the option and run your query again.)
Select Output Type and Output Form
Type choices, press Enter.
Output type . . . . . .
1
1=Display
2=Printer
3=Database file
Formof output . . . . .
1
1=Detail
2=Summary only
Line wrapping . . . . .
N
Y=Yes, N=No
Wrapping width . . . .
___
Blank, 1-378
Record on one page . .
_
Y=Yes, N=No
F3=Exit
F5=Report
F10=Process/previous
F12=Cancel
F13=Layout
F18=Files
Form of output of Query for iSeries reports
Type the number of one of the following choices to select the form of output you want for your query. You
can specify that the output for the report is to be produced in detailed form or in summary form. The
detailed form includes all the records selected in the query and any summary information that was defined.
Summary information consists of report breaks, totals, averages, maximums, minimums, or counts.
1=Detail
For displayed and printed output, the report is to contain both the selected data records and all
summary information. For database file output, only the selected records are put into the file; summary
information is not.
2=Summary only
The report is to contain only the summary information provided at report breaks and at the end of the
report (final totals).
Line wrapping in Query for iSeries reports
Type a
Y
or
N
to indicate whether lines of the report are to be wrapped whenever all the fields in the output
record cannot fit on one line in the report. Line wrapping values are used for displayed and printed output;
they are
ignored
when output is to a database file.
Y=Yes
The data for each output record is to be wrapped (continued on the next line of the report) whenever
the length of the record exceeds the width of the report. If a field cannot fit on the end of a line, all of
that field is carried over to the next line along with any other fields that follow it. If the column
formatted for the carried-over field would extend past the wrapping width, the field is dropped from the
report, unless it is a character field and at least one character of its value (one byte for SBCS or four
bytes for DBCS) would be displayed after truncation of the column at the wrapping width.
When line wrapping occurs, Query also wraps the field headings. The results on your report are a
line(s) of field headings followed by a line(s) of field data.
146
Query for iSeries Use V5R2
|
|
|
|
|
|
|
|
|
|
|
|
Содержание 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 ...