
The
section
on
registers
in
the
REPOR
T
command
description
explains
ho
w
QUER
Y
determines
the
t
yp e
of
a
register.
*USERSTOR
is
a
global
scratch
area
for
user
data
whic
h
is
shared
b
y
all
of
y
our
pro cedures
that
are
referenced
in
an
y
one
rep ort.
Not
initialized.
*USERP
ARAM
is
where
the
v
alue
of
y
our
parameter
is
stored.
One
use
of
this
parameter
might
b e
to
indicate
where
in
the
output
buer
to
place
the
v
alue.
(F
or
example,
D1,PROC,/;D1,PROC
(20),/;
.
.
.
)
*D
A
T
A'BASE'NAME
is
set
with
the
correct
data
base
name
if
data
item
v
alues
are
needed
from
a
data
set(s)
other
than
the
default
data
set(s),
(see
ab o
v
e
parameter
DBBUF
)
or
data
item
v
alues
are
needed
for
data
items
not
men
tioned
in
the
rep ort.
The
name
should
b e
upp er
case,
left-justied
and,
if
necessary
,
qualied
with
group
and
accoun
t.
The
rest
of
the
array
should
b e
lled
with
blanks.
The
parameter
D
A
T
A'SET'NAME
m
ust
also
b e
set.
If
the
sp ecied
name
is
in
v
alid,
QUER
Y
will
give
the
message:
NO
RETRIEVAL
WAS
MADE
FROM
THE
DATA
BASE
XX,
WHICH
WAS
NAMED
IN
A
USER
PROCEDURE.
*D
A
T
A'SET'NAME
is
set
with
the
correct
data
set
name
if
data
item
v
alues
are
needed
from
a
data
set(s)
other
than
the
default
data
set(s)
(see
ab o
v
e
parameter
DBBUF
),
or
data
item
v
alues
are
needed
of
data
items
other
than
those
men
tioned
in
the
rep ort.
The
name
should
b e
upp er
case
and
left-justied
and
the
rest
of
the
array
should
b e
lled
with
blanks.
The
parameter
D
A
T
A'BASE'NAME
m
ust
also
b e
set.
If
the
sp ecied
name
is
in
v
alid,
QUER
Y
will
give
the
following
error
message:
THE
DATA
SET
XX,
NAMED
IN
A
USER
PROCEDURE,
IS
NOT
IN
DATA
BASE
YY
CALL'NUM
is
the
n
um
b er
of
times
that
a
pro cedure
has
b een
called
from
the
same
lev
el
of
rep ort
statments.
The
rst
time
the
pro cedure
is
called
the
n
um
b er
will
b e
1.
CALL'NUM
is
reset
to
1
after
all
the
rep ort
statements
of
a
particular
lev
el
are
pro cessed.
F
or
example
(assume
CALLAGAIN
is
alwa
ys
F
ALSE):
D1,PROC1,1
<<
call'num
=
1
>>
D1,PROC2,1
<<
call'num
=
2
>>
D1,ITEM,10
D2,ITEM,10
D2,PROC3,1
<<
call'num
=
1
>>
LINES-LEFT
is
the
n
um
b er
of
lines
that
are
left
on
the
page.
P
A
GENO
tells
whic
h
page
is
curren
tly
b eing
output.
NUM'DSETS
is
the
n
um
b er
of
data
sets
that
are
accessed
b
y
REPOR
T.
NUM'DBASES
is
the
n
um
b er
of
data
bases
op en
b
y
the
curren
t
user
of
QUER
Y.
F-4
USER-DEFINED
PROCEDURES
Содержание 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: ......