
FIND
CHAIN
FIND
CHAIN
Lo cates
data
en
tries
from
a
detail
data
set
and
one
or
more
of
its
corresp onding
master
data
sets.
Syntax
F
2
IND
3
CHAIN
2
#LIMIT= i;
3
item
identier
8
>
>
<
>
>
:
IS
IE
EQ
=
9
>
>
=
>
>
;
"value"
2
6
6
4
and
or
item
identier
8
>
>
<
>
>
:
IS
IE
EQ
=
9
>
>
=
>
>
;
"value"
3
7
7
5
.
.
.
2
END
3
F
or
example:
>F
CHAIN
EMPLOYEE.BADGE#,LABOR.BADGE#
IS
"1234"
OR&
>>
EMPLOYEE.BADGE#,LABOR.BADGE#
IS
"9018"
Whereitem
identier
=
EMPLOYEE.BADGE#,LABOR.BADGE#,
and
"value"
=
"1234"
or
"9018"
>FIND
CHAIN
EMPLOYEE.BADGE#,LABOR.BADGE#
IE
"1234"
text
Where
master
set
name
=
EMPLOYEE,
master
se
ar
ch
item
=
BADGE#,
detail
set
name
=
LABOR,
detail
se
ar
ch
item
=
BADGE#,
value
=
"1234"
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
negative
n
um
b er,
QUER
Y
ignores
y
our
input.
When
the
#LIMIT
=
parameter
is
sp ecied,
only
the
rst
qualied
en
tries
are
placed
in
the
select
le.
If
few
er
than
i
en
tries
exist,
all
en
tries
that
qualify
are
placed
in
the
select
le.
item
identier
takes
the
form:
master
set
name.
master
se
ar
ch
item,
detail
set
name.
detail
se
ar
ch
item
master
set
name
is
the
name
of
a
master
data
set
in
the
data
base.
master
se
ar
ch
item
is
the
name
of
a
data
item
dened
as
the
searc
h
item
for
the
master
data
set.
detail
set
name
is
the
name
of
a
detail
data
set
that
is
asso
ciated
with
the
master
data
set
previously
named.
QUERY/V
COMMANDS
3-43
Содержание QUERY
Страница 10: ......
Страница 17: ...Figure 1 1 ORDERS Data Base Structure Figure 1 2 Sample Entry Values INTRODUCING QUERY V 1 7 ...
Страница 20: ...Figure 1 3 IMAGE QUERY Environments 1 10 INTRODUCING QUERY V ...
Страница 36: ......
Страница 165: ...REPORT G1 GROUP TITLE 11 END QUERY V COMMANDS 3 129 ...
Страница 199: ...XEQ TF TOTAL DUE 9 SPACE B2 SKIP A TF R0 70 E2 S PURCH DATE END QUERY V COMMANDS 3 163 ...
Страница 200: ......
Страница 244: ......
Страница 278: ......
Страница 279: ...G ASCII CHARACTER SET This appendix is not available in this edition ASCII CHARACTER SET G 1 ...
Страница 280: ......