The number of items shown in the list part of the display varies, depending on what form the list is in and
the amount of space used by the prompt part of the display. Sometimes a new display will appear that
shows the list. If all items in a list do not fit on the display, you can use the page keys to page forward and
backward through the list.
Selecting items in a Query for iSeries list
You can select an item from a list by doing one of the following:
v Typing the name and an option number in the first position in the list.
v Selecting an item directly from the list by typing a number next to the name in the list. By selecting an
item directly from the list by typing a number next to it, you often can select more than one item and
thus save a lot of time and typing.
You may be able to display, from a list, a long comment about a file, a record format, a file member, or a
field. Long comments may provide extensive information about their content. If a long comment is defined
for a file, a record format, a file member, or a field, you can move the cursor to its name and press F23 to
display the long comment.
Note: If the field is a result field, the entire expression defining the result field is shown as a long
comment.
Special library names in Query for iSeries
You can specify any of the following special library names to search the associated libraries for query
definitions, files, or translation tables:
Special Library Name
Description
*CURLIB The current library being used for your job. It is the only library searched. If no current
library is found, QGPL is searched.
*LIBL All the libraries in the library list for your job. They are searched in the order they are
listed.
*USRLIBL All the user libraries that are in the user part of the library list for your job. They are
searched in the order they are listed.
*ALLUSR All the user libraries on the system that you have the authority to use and other libraries
that you have authority to use whose names begin with the letter Q. *ALLUSR does not
list certain System/36
™
libraries that begin with the # character. The libraries are searched
in alphabetical order.
*ALL All the libraries on the system that you have the authority to use. They are searched in
alphabetical order.
GENERIC* All libraries starting with characters that precede an asterisk that you have authority to use
are searched. For example, you can specify STA* to search all libraries starting with STA.
If you specify *CURLIB in the Library prompt, Query changes it to the name of the library currently being
used in your job. That library name is displayed in place of *CURLIB.
Note: You can use only those libraries for which you have the necessary authority. If you specify a special
library name that contains libraries you do not have authority for, you will see queries in only those
libraries in that list for which you do have the authority.
10 Query for iSeries Use V5R2