
FIND
CHAIN
detail
se
ar
ch
item
is
the
name
of
a
data
item
dened
as
a
searc
h
item
for
the
detail
data
set.
This
searc
h
item
m
ust
pro
vide
the
link
b et
w
een
the
detail
set
and
the
previously
dened
master
set.
value
is
a
data
item
v
alue.
It
m
ust
b e
the
same
t
yp e
and
within
the
same
v
alue
range
as
the
master
se
ar
ch
item
and
detail
se
ar
ch
item
of
the
data
item.
V
alue
m
ust
b e
enclosed
in
quotation
marks
only
if
it
con
tains
sp ecial
c
haracters
or
blanks.
Null
v
alues
may
b e
used.
Refer
to
\Using
Null
V
alues"
under
the
FIND
command.
V
alue
m
ust
b e
an
exact
match
for
c
haracter
t
yp e
data
items
(typ e
U
or
X).
m
ust
b e
included
in
a
pro cedure.
END
Discussion
Only
one
detail
data
set
can
b e
accessed
using
a
FIND
CHAIN
command,
but
m
ultiple
master
sets
can
b e
used
if
they
relate
to
the
same
detail
data
set
through
searc
h
items.
The
data
base
administrator
can
pro
vide
y
ou
with
the
information
required
to
use
this
command,
or
y
ou
can
use
the
F
ORM
command
to
determine
the
data
item
and
data
set
relations.
When
y
ou
en
ter
FIND
CHAIN,
QUER
Y
searc
hes
the
sp ecied
master
data
sets
for
an
en
try
con
taining
the
sp ecied
searc
h
item
v
alue.
Then
QUER
Y
searc
hes
the
sp ecied
detail
data
set
for
en
tries
con
taining
the
same
searc
h
item
v
alue.
Detail
en
tries
with
the
same
searc
h
item
v
alue
are
called
chains.
The
eect
of
FIND
CHAIN
is
to
lo
cate
all
the
mem
b ers
of
a
detail
c
hain
and
the
master
data
en
try
whic
h
constitutes
the
c
hain
head.
F
or
more
information
on
c
hains,
c
hain
heads,
and
data
set
relations,
consult
the
IMAGE
R
efer
enc
e
Manual.
When
using
the
FIND
CHAIN
command:
Only
selection
on
the
basis
of
equality
may
b e
made.
Relational
op erators
other
than
IS,
IE,
EQ,
and
=
are
not
allo w
ed.
Only
one
v
alue
p er
relational
op erator
is
allo
w
ed.
Data
items
named
in
the
command
m
ust
alwa
ys
b e
searc
h
items
(as
dened
in
the
data
base).
Up
to
50
logical
connectors
(AND,
OR)
can
app ear
in
the
same
command.
Refer
to
the
FIND
command
for
more
information
ab out
logical
connectors.
No
more
than
16
v
alues
can
b e
used
in
eac
h
FIND
CHAIN
command.
Example
In
the
example
b elow,
CUSTOMER
is
searc
hed
for
an
en
try
con
taining
A
CCOUNT
equal
to
76623455,
and
one
en
try
is
found.
Then
PR
ODUCT
is
searc
hed
for
an
en
try
con
taining
a
STOCK#
equal
to
6550D22S,
and
one
en
try
is
found.
Then
SALES
is
searc
hed
for
en
tries
with
b oth
A
CCOUNT
equal
to
76623455
and
STOCK#
equal
to
6550D22S,
but
no
en
tries
are
lo
cated.
CUSTOMER
is
searc
hed
for
en
tries
con
taining
A
CCOUNT
equal
to
54283545
and
SALES
is
searc
hed
for
en
tries
con
taining
A
CCOUNT
equal
to
54283545.
One
en
try
is
found
for
eac
h
relation.
Note
that
b oth
STOCK#
and
A
CCOUNT
are
searc
h
items.
> FIND
CHAIN
CUSTOMER.ACCOUNT,SALES.ACCOUNT
IS
76623455
AND&
>>
PRODUCT.STOCK#,SALES.STOCK#
IS
6550D22S
OR&
>>
CUSTOMER.ACCOUNT,SALES.ACCOUNT
IS
54283545
3-44
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: ......