
Eac
h
name
is
preceded
b
y
the
BASE'ID
n
um
b er
(1
w
ord)
assigned
b
y
IMA
GE.
DBBUF
is
an
array
whic
h
holds
the
v
alues
of
the
data
items
to
whic
h
y
ou
ha
v
e
access
for
a
sp ecic
data
set
for
the
curren
t
en
try
or
comp ound
en
try
b eing
output.
The
v
alues
of
the
data
set
are
placed
in
DBBUF
as
follows:
If
the
FIND
command,
or
a
SUBSET
of
a
FIND
command,
w
as
used
to
select
the
en
tries
for
rep orting,
then
the
data
set
that
the
FIND
or
SUBSET
command
referenced
will
b e
used.
If
the
MUL
TIFIND
command
or
a
SUBSET
of
a
MUL
TIFIND
w
as
used,
then
the
rst
data
set
men
tioned
in
the
JOIN
command
is
used.
On
QUER
Y
v
ersion
B.01.10
and
later,
the
length
of
the
en
try
b eing
passed
to
y
ou
is
placed
in
the
last
w
ord
of
this
array
(word
2051).
If
the
en
try
is
a
n
ull
en
try
,
from
a
MUL
TIFIND
follo wing
a
join
con
taining
an
@
sign,
this
length
will
b e
set
to
zero
and
DBBUF
will
b e
lled
with
ASCI I
n
ulls.
If
y
ou
w
an
t
a
dieren
t
en
try
from
an
y
data
set
men
tioned
in
the
FIND,
SUBSET,
or
JOIN
command,
set
the
D
A
T
A'BASE'NAME
and
D
A
T
A'SET'NAME
parameters
with
the
appropriate
names
and
set
the
CALLAGAIN
parameter
to
TR
UE.
The
items
from
the
desired
data
set
will
b e
returned
to
y
our
pro cedure
from
QUER
Y.
DSET'LIST
con
tains
the
data
set
n
um
b ers
of
those
data
sets
accessed
b
y
the
FIND,
MUL
TIFIND,
or
SUBSET
command.
D
A
T
A'BASE'LIST
con
tains
the
p osition
of
the
data
base
name
in
the
parameter
BASE'IDS
for
the
corresp onding
en
try
in
the
parameter
DSET'LIST
.
F
or
example:
A
zero
(0)
in
D
A
T
A'BASE'LIST
(2)
means
that
the
data
set
in
DSET'LIST
(2)
b elongs
to
the
rst
data
base
named
in
BASE'IDS
.
*LINEBUF
is
the
buer
that
QUER
Y
uses
to
build
eac
h
line
of
REPOR
T.
F
or
eac
h
line
of
output
that
is
generated,
those
statements
corresp onding
to
that
line
whic
h
con
tain
a
prin
t
elemen
t
or
whic
h
call
a
user
pro cedure
that
mo
dies
LINEBUF
,
op erate
cumm
ulativ
ely
on
LINEBUF
to
create
the
line
of
output.
If
LINEBUF
has
b een
c
hanged
b
y
the
pro cedure,
it
will
prin
t
when
all
rep ort
statements
of
that
lev
el
ha
v
e
b een
pro cessed.
(F
or
example,
it
will
b e
prin
ted
when
all
D1
statments
ha
v
e
b een
pro cessed.)
On
QUER
Y
v
ersions
prior
to
C.00.00,
LINEBUFF
will
prin
t
only
if
there
is
another
statement
of
the
same
lev
el
that
con
tains
a
prin
t
elemen
t.
*REGARR
con
tains
the
30
registers,
with
5
w
ords
allo cated
for
eac
h
register.
Y
ou
m
ust
kno
w
the
t
yp es
of
the
registers
that
y
ou
access.
The
t
yp es
used
b
y
QUER
Y
are:
P20:
uses
all
v
e
w
ords
(right-justied)
R2:
uses
the
leftmost
2
w
ords
(left-justied)
R4:
uses
the
leftmost
4
w
ords
(left-justied)
USER-DEFINED
PROCEDURES
F-3
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: ......