End Data Entry
Number of records processed
Added . . . . . :
10
Changed . . . . :
0
Deleted . . . . :
0
Type choice, press Enter.
End data entry . . . . . . .
Y
Y=Yes, N=No
You do not need to change anything on this display. Press the Enter key.
8. The Work with Database Files display is shown.
Work with Database Files
Library . . . . . . .
default__
Name,F4 for list
Position to . . . . .
__________ Starting characters
Type options (and Database file), press Enter.
1=Create
2=Enter data
Database
Database
Database
Database
Opt File
Opt File
Opt File
Opt File
F3=Exit
F4=Prompt
F5=Refresh
F11=Display text
F12=Cancel
F21=Work with definitions
F22=Work with data dictionaries
Data for file NAMEADDR in YOURLIB was changed.
A message on the bottom of the display tells you that data in your file was changed.
9. Press F3 (Exit), and you see the menu that you started from.
An audit log is automatically printed showing all the data you entered.
Query for iSeries query exercise: Creating and running a query
In the following exercise, you create and change a query that produces a report that lists all the
information in the file
NAMEADDR
or any other file that may already exist on your system.
NAMEADDR
is a file
definition that you created in the previous example using IDDU.
NAMEADDR
contains names and addresses and includes the following information:
v
Last name
v
First name
v
Address 1
v
Address 2
v
City
v
State
v
Zip code
206
Query for iSeries Use V5R2
Summary of Contents for ISERIES SC41-5210-04
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 ...