
MUL
TIFIND
The
JOIN
ab o
v
e
com
bines
the
three
data
sets
in
to
one
comp ound
data
set
using
the
common
data
item
STOCK#.
Un
til
a
MUL
TIFIND
or
MUL
TIFIND
ALL
command
is
p erformed,
the
comp ound
data
set
is
only
dened,
but
not
created.
If
y
ou
could
lo
ok
at
the
comp ound
data
set
that
w
ould
result
from
the
ab o
v
e
JOIN
command,
it
w
ould
app ear
as
follows:
<---(SALES-DETAIL)--->
<---(STOCK-DETAIL)--->
<---MANUF-DETAIL)--->
--------------------------------------------------------- ----------------
ACCT#
STOCK#
QUAN
STOCK#
DESCR
ON-HAND
STOCK#
LABOR
MACHINE
--------------------------------------------------------- ----------------
111
50
100
50
NAIL
1000
50
5
1
111
60
20
60
BOLT
1200
60
10
5
222
50
5
50
NAIL
1000
50
5
1
222
60
25
60
BOLT
1200
60
10
5
222
70
95
70
WASHER
325
70
15
6
333
50
45
50
NAIL
1000
50
5
1
--------------------------------------------------------- ----------------
P
erforming
the
follo wing
MUL
TIFIND
creates
the
comp ound
data
set
from
whic
h
the
en
try
b elow
is
retrieved.
>MULTIFIND
QUAN
>
80
AND
ON-HAND
>
500
---------------------------------------------------------
----------------
ACCT#
STOCK#
QUAN
STOCK#
DESCR
ON-HAND
STOCK#
LABOR
MACHINE
---------------------------------------------------------
----------------
111
50
100
50
NAIL
1000
50
5
1
---------------------------------------------------------
----------------
Using
the
$MISSING
P
arameter
The
MUL
TIFIND
command
can
con
tain
the
optional
$MISSING
parameter,
whic
h
allo
ws
y
ou
to
retrieve
a
missing
(non-comp ound)
en
try
from
a
comp ound
data
set.
Missing
en
tries
result
when
the
JOIN
command
con
tains
the
optional
@
parameter.
F
or
more
information
on
missing
en
tries,
refer
to
the
JOIN
command.
A
missing
en
try
is
retrieved
from
a
comp ound
data
set
b
y
comparing
a
data
item
with
the
v
alue
$MISSING
in
a
relation.
This
parameter
allo ws
the
relation
to
b e
ev
aluated
as
true
if,
for
a
particular
comp ound
en
try
,
the
non-comp ound
en
try
that
the
data
item
b elongs
to
is
missing.
Note
that
a
relation
with
$MISSING
will
b e
ev
aluated
as
false
if,
for
a
particular
comp ound
en
try
,
the
non-comp ound
en
try
for
the
data
set
to
whic
h
the
data
item
b elongs
is
not
missing,
but
the
v
alue
of
the
data
item
is
n
ull.
Example
The
following
JOIN
command
pro duces
the
comp ound
data
set
b elow.
>JOIN
SALES-DETAIL.STOCK#
@
TO
STOCK-DETAIL.STOCK#
<--------(SALES-DETAIL)-------->
<--------(STOCK-DETAIL)--------->
--------------------------------------------------------- ---------
ACCT#
STOCK#
QUAN
STOCK#
DESCR
ON-HAND
--------------------------------------------------------- ---------
111
50
100
50
NAIL
1000
111
60
20
60
BOLT
1200
222
50
5
50
NAIL
1000
222
60
25
60
BOLT
1200
222
70
95
70
WASHER
325
333
50
45
50
NAIL
1000
444
80
92
**
****
****
3-80
QUERY/V
COMMANDS
Содержание 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: ......