
FIND
FIND
Lo cates
en
tries
in
a
single
data
set.
Syntax
F
2
IND
32
#LIMIT= i;
3
r
elation
item
identier
M
2
ATCHING
3
" p
attern"
AND
OR
r
elation
item
identier
M
2
ATCHING
3
" p
attern"
.
.
.
2
END
3
F
or
example:
>FIND
BADGE#
IS
"09.18"
Where
r
elation
=
BADGE#
IS
"09.18"
>FIND
L-NAME
IS
MARTENSEN
AND
F-NAME
IS
SALLY
Where
r
elation
=
L-NAME
IS
MARTENSEN
AND
F-NAME
IS
SALLY
>F
STATE
M
"C?"
Where
item
identier
=
STATE
and
p
attern
=
"C?"
P
arameters
i
is
an
in
teger
sp ecifying
the
maximum
n
um
b er
of
qualifying
en
tries
y
ou
w
an
t
to
retrieve.
i
m
ust
b e
>
0.
If
y
ou
sp ecify
a
negativ
e
n
um
b er,
QUER
Y
ignores
y
our
input.
When
the
#LIMIT
=
parameter
is
sp ecied,
only
the
rst
i
qualifying
en
tries
are
placed
in
the
select
le.
If
few
er
than
i
qualifying
en
tries
exist,
then
all
en
tries
that
qualify
are
put
in
to
the
select
le.
item
identier
takes
the
form:
[ data
b
ase
name: ]
[ data
set
name. ]
data
item
name
[( subscript )]
data
b
ase
name
is
the
name
of
a
data
base
sp ecied
in
either
the
DEFINE,
D
A
T
A-BASE=,
or
MUL
TIDB
command.
data
set
name
is
the
name
of
a
data
set
in
a
curren
tly
op en
data
base.
If
a
data
base
is
sp ecied,
the
data
set
m
ust
b elong
to
that
data
base.
data
item
name
is
either
the
name
of
a
simple
data
item,
or
the
name
of
a
comp ound
data
item
with
an
optional
( subscript
)
parameter.
If
a
data
set
name
is
used,
the
data
item
m
ust
b elong
to
the
sp ecied
data
set.
F
or
matching,
the
data
item
m
ust
b e
t
yp e
X
or
U.
subscript
is
a
n
um
b er
to
indicate
whic
h
sub-item
y
ou
w
an
t
to
lo
cate.
Subscript
is
en
tered
with
paren
thesis,
and
m
ust
b e
an
in
teger
>=
1
and
<=
the
n
um
b er
of
sub-items
dened
for
the
comp ound
data
item.
QUER
Y
defaults
to
the
rst
sub-item
if
no
subscript
is
sp ecied.
MATCHING
allo
ws
y
ou
to
retrieve
data
based
on
the
comparison
of
data
item
v
alues
with
a
sp ecied
p
attern
.
QUERY/V
COMMANDS
3-31
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: ......