
FIND
clear
the
data
set
list
if
y
ou
are
unsure
ab out
what
it
con
tains.
PR
ODUCT
w
as
en
tered
in
the
data
set
list
automatically
as
a
result
of
the
previous
command,
so
QUER
Y
uses
PR
ODUCT
and
do es
not
prompt
for
the
data
set
name.
> F
STOCK#
IGT
33333333
AND
DESCRIPTION
IS
"NEHRU
JACKET"
RETRIEVAL
FROM
MORE
THAN
ONE
DATA
SET
> S=
> F
STOCK#
IGT
33333333
AND
DESCRIPTION
IS
"NEHRU
JACKET"
STOCK#
IS
A
MEMBER
OF
THESE
SETS:
PRODUCT,
SALES,
INVENTORY
WHICH
SET
DO
YOU
WISH
TO
USE?
>> PRODUCT
USING
SERIAL
READ
0
ENTRIES
QUALIFIED
> F
STOCK#
IGT
33333333
AND
DESCRIPTION
IS
"NEHRU
JACKET"
USING
SERIAL
READ
0
ENTRIES
QUALIFIED
Example
4
The
following
error
o ccurs
b ecause
an
amp ersand
is
used
to
con
tinue
the
line
but
there
is
no
space
b efore
it
or
at
the
b eginning
of
the
next
line.
> F
ACCOUNT
IGT
55555555
AND
STATE
IS
CA
OR
ACCOUNT
IS
121212121&
>> AND
STATE
IS
MA
OR
CUSTOMER.STATE
IS
AZ
ACCOUNT
IS
A
MEMBER
OF
THESE
SETS:
CUSTOMER,SALES
WHICH
SET
DO
YOU
WISH
TO
USE?
>> CUSTOMER
INVALID
NUMERIC
DIGIT
Example
5
All
items
whic
h
app ear
in
m
ultiple
sets
m
ust
b e
qualied
unless
the
set
name
is
in
the
set
list.
After
en
tries
are
lo
cated,
y
ou
can
use
the
REPOR
T
command
to
prin
t
the
data.
> F
CUSTOMER.ACCOUNT
IGT
55555555
AND
STATE
IS
CA
OR
ACCOUNT&
>>
IS
121212
AND
STATE
IS
MA
OR
STATE
IS
AZ
STATE
IS
A
MEMBER
OF
THESE
SETS
CUSTOMER,SUP-MASTER
WHICH
SET
DO
YOU
WISH
TO
USE?
>> CUSTOMER
6
ENTRIES
QUALIFIED
> REPORT
D,ACCOUNT,10;D,STATE,15;END
76623455
CA
74001813
CA
87654321
CA
80808080
CA
77765555
CA
99998877
CA
Example
6
A
simpler
tec
hnique
for
determining
the
data
set
to
b e
used
is
to
en
ter
it
in
to
the
data
set
list
with
a
D
A
T
A-SETS=
command.
> S=CUSTOMER
> F
ACCOUNT
IGT
55555555
AND
STATE
IS
CA
OR
ACCOUNT
IS
12121212&
>>
AND
STATE
IS
MA
OR
STATE
IS
AZ
USING
SERIAL
READ
6
ENTRIES
QUALIFIED
3-36
QUERY/V
COMMANDS
Summary of Contents for QUERY
Page 10: ......
Page 17: ...Figure 1 1 ORDERS Data Base Structure Figure 1 2 Sample Entry Values INTRODUCING QUERY V 1 7 ...
Page 20: ...Figure 1 3 IMAGE QUERY Environments 1 10 INTRODUCING QUERY V ...
Page 36: ......
Page 165: ...REPORT G1 GROUP TITLE 11 END QUERY V COMMANDS 3 129 ...
Page 199: ...XEQ TF TOTAL DUE 9 SPACE B2 SKIP A TF R0 70 E2 S PURCH DATE END QUERY V COMMANDS 3 163 ...
Page 200: ......
Page 244: ......
Page 278: ......
Page 279: ...G ASCII CHARACTER SET This appendix is not available in this edition ASCII CHARACTER SET G 1 ...
Page 280: ......