
FIND
Y
ou
are
prompted
once
for
eac
h
n
ull
v
alue
in
the
command.
Y
ou
m
ust
supply
a
v
alue
for
eac
h
n
ull
v
alue
in
the
pro cedure.
Y
ou
can
use
a
kno
wn
in
v
alid
resp onse
if
y
ou
do
not
w
an
t
to
nd
another
en
try
.
F
or
example:
> FIND
CUSTOMER.CITY
IS
"",""
WHAT
IS
THE
VALUE
OF
-
CITY
>> PETALUMA
WHAT
IS
THE
VALUE
OF
-
CITY
>>X
USING
SERIAL
READ
1
ENTRIES
QUALIFIED.
When
using
n
ull
v
alues
from
a
FIND
command
in
an
XEQ
le,
the
XEQ
parameter
NOD
A
T
A
m
ust
b e
used.
This
parameter
indicates
that
the
v
alues
to
b e
searc
hed
for
are
not
included
in
the
FIND
command
but
m
ust
b e
en
tered
b
y
y
ou.
Refer
to
the
XEQ
command
for
more
information
ab out
using
n
ull
v
alues.
In
session
mo
de,
supply
the
desired
v
alue
after
eac
h
prompt
message.
In
job
mo
de,
y
ou
m
ust
an
ticipate
the
order
of
prompts
and
supply
the
desired
v
alues,
one
p er
record,
following
the
FIND
command.
Examples
Example
1
T
o
determine
whether
or
not
a
customer
is
already
in
the
data
set,
y
ou
can
try
to
nd
the
name.
> FIND
LAST-NAME
IS
MARTENSEN
USING
SERIAL
READ
0
ENTRIES
QUALIFIED
Example
2
Since
A
CCOUNT
is
in
more
than
one
data
set
y
ou
can
either
qualify
the
data
item
name
or
let
QUER
Y
prompt
y
ou
for
it.
The
resp onse,
SALES,
is
automatically
en
tered
in
the
data
set
list.
> FIND
CUSTOMER.ACCOUNT
EQ
24536173
USING
SERIAL
READ
1
ENTRIES
QUALIFIED
> DATA
SETS=
> FIND
ACCOUNT
EQ
24536173
ACCOUNT
IS
A
MEMBER
OF
THESE
SETS:
CUSTOMER,SALES
WHICH
SET
DO
YOU
WISH
TO
USE?
>> SALES
3
ENTRIES
QUALIFIED
Example
3
In
the
example
b elow,
QUER
Y
uses
the
data
set
list
to
determine
whic
h
of
the
three
data
sets
con
taining
STOCK#
to
use.
Since
SALES
w
as
placed
in
the
data
set
list
in
the
previous
example,
it
is
used.
Ho
w
ev
er,
the
data
item
DESCRIPTION
is
in
the
PR
ODUCT
data
set,
and
the
FIND
command
can
only
refer
to
one
data
set
so
an
error
results.
It
is
usually
b est
to
QUERY/V
COMMANDS
3-35
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: ......