
JOIN
USING
SERIAL
READ
2
COMPOUND
ENTRIES
QUALIFIED
The
data
set
equiv
alence
ab o
v
e
is
not
actually
executed
un
til
a
MUL
TIFIND
or
MUL
TIFIND
ALL
command
is
en
tered
to
retrieve
some
or
all
of
the
comp ound
en
tries
y
ou
ha
v
e
formed.
Tw
o
comp ound
en
tries
ha
v
e
b een
retrieved
from
whic
h
the
desired
rep ort
can
b e
created.
> REPORT
ALL
EMP:EMP-DETAIL
EMP-#
=1792
EMP-NAME
=G.
SMITH
MGR-#
=1833
EMP:MGR-DETAIL
EMP-#
=1833
EMP-NAME
=H.
JONES
MGR-#
=3421
EMP:EMP-DETAIL
EMP-#
=1833
EMP-NAME
=H.
JONES
MGR-#
=3421
EMP:MGR-DETAIL
EMP-#
=3421
EMP-NAME
=J.
PRESIDENT
MGR-#
=****
Belo
w
is
another
rep ort
sho
wing
emplo
y
ee
and
manager
names:
>REPORT
>>H1,"Employee
Name",30
>>H1,"Manager
Name",55,SPACE
A2
>>D1,EMP-DETAIL.EMP-NAME,27
>>D1,MGR-DETAIL.EMP-NAME,55
>>END
Employee
Name
Manager
Name
G.
SMITH
H.
JONES
H.
JONES
J.
PRESIDENT
Using
the
@
P
arameter
The
optional
@
parameter
allo ws
y
ou
to
preserv
e
all
of
the
data
item
v
alues
in
one
of
the
data
sets
of
a
data
item
equiv
alence.
The
v
alues
in
the
data
set
whic
h
is
next
to
the
@
(on
the
same
side
of
the
TO
as
the
@)
will
b e
preserv
ed
when
data
sets
are
joined
ev
en
if
a
corresp onding
data
item
v
alue
for
the
equated
data
items
do es
not
exist
in
the
second
data
set.
F
or
example,
given
the
following
data
sets:
SALES-DETAIL
STOCK-DETAIL
-----------------------------
-------------------------------
ACCT-#
STOCK-#
QUAN
STOCK-#
DESCR
ON-HAND
-----------------------------
-------------------------------
666
90
350
110
NUT
970
222
60
25
60
BOLT
1200
-----------------------------
-------------------------------
The
next
JOIN
command
pro duces
the
following
comp ound
data
set:
3-60
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: ......