v
If you type a generic library name (in the form of
ABC*
) or special library name in this prompt and press
the Enter key, that library group is searched for the file named in the
File
prompt. If the file is found in
one of the libraries, the name of that library replaces the special library or generic name.
v
If you type a generic library name (in the form of
ABC*
) or a special library name and then press F4 with
the cursor in this prompt, the specified list of library names is shown on the Select Library display.
When you select the library you want from the list and press the Enter key, you return to this display
with the selected name filled in. For an explanation of these special library names, see “Special library
names in Query for iSeries” on page 10.
If you specify
*CURLIB
as the library name for a file selection and you do not have a current library,
QGPL
replaces the
*CURLIB
value.
Choosing a member or record format for a Query for iSeries query
Similarly, for each file selection, if you want to choose from a list of members or record formats, move the
cursor to that prompt and press F4 to see the associated display, and select the member name (or format
name) you want to be used with that file. Then, when you return to the Specify File Selections display, that
name is shown in the prompt. If you did not select a member name, Query supplies
*FIRST
in the
Member
prompt. If you did not select a format name, Query resolves the special default value and supplies the first
format name in the
Format
prompt.
Selecting multiple files for a Query for iSeries query
If you want to include additional files for your query, press F9 (Add file) each time you want another file
selection. If you have completed the previous file selections for this query, a new group of prompts is
shown for you to fill in; the
File
prompt is blank, and the other prompts show default values that you can
change. (However, if you have not filled in a file name for one of the file selections, F9 moves the cursor
to the blank
File
prompt instead of giving you a new file selection.)
Specify File Selections
Type choices, press Enter. Press F9 to specify an additional
file selection.
File . . . . . . . . . .
EXAMPFILE
Name, F4 for list
Library . . . . . . .
QGPL
Name, *LIBL, F4 for list
Mem ber . . . . . . . . .
*FIRST
Name, *FIRST, F4 for list
Format . . . . . . . . .
*FIRST
Name, *FIRST, F4 for list
File ID . . . . . . . .
T01
A-Z99, *ID
File . . . . . . . . . .
__________
Name, F4 for list
Library . . . . . . .
QGPL
Name, *LIBL, F4 for list
Mem ber . . . . . . . . .
*FIRST
Name, *FIRST, F4 for list
Format . . . . . . . . .
*FIRST
Name, *FIRST, F4 for list
File ID . . . . . . . .
*ID
A-Z99, *ID
Bottom
F3=Exit
F4=Prompt
F5=Report
F9=Add file
F12=Cancel
F13=Layout
F24=More keys
If you are working with multiple files on this display, use the page keys to move forward or backward in the
list of file selections. If you press F18 (Files), you can also see this information in a different form. F18
takes you to the Display File Selections display and shows you the names of all the files, libraries, file
members, record formats, and file IDs for all the files currently defined in this query definition.
If you try to leave the Specify File Selections display before you specify how multiple files are to be joined,
Query assumes that the type of join is a 1 (Matched records) and shows you the Specify How to Join Files
display so you can specify the necessary join test specifications.
Chapter 4. Specifying and selecting files for a Query for iSeries query
35
Содержание 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 ...