
REPORT
procedure
Executes
a
REPOR
T
command
stored
as
a
pro cedure
in
the
curren
t
Pro
c-le.
Syntax
R
2
EPORT
32
output
c
ontr
ol
statements ;
3
pr
o
c
e
dur
e
name
2
, char
acter
3
F
or
example:
>REPORT
REP4,J
Where
pr
o
c
e
dur
e
name
=
REP4,
char
acter
=
J
>R
FINDTAX
Where
pr
o
c
e
dur
e
name
=
FINDTAX
P
arameters
output
c
ontr
ol
statements
Refer
to
the
section
on
Output
Con
trol
Statemen
ts
in
the
REPOR
T
command.
pr
o
c
e
dur
e
name
is
the
name
of
a
REPOR
T
command
stored
as
a
pro cedure
in
the
curren
t
Pro
c-le.
char
acter
is
an
y
prin
table
ASCI I
c
haracter.
If
char
acter
is
included
in
this
command,
the
REPOR
T
pro cedure
is
listed
b efore
it
is
executed.
Discussion
QUER
Y
searc
hes
the
curren
t
Pro
c-le
and
executes
the
REPOR
T
command
stored
under
the
pr
o
c
e
dur
e
name
.
The
data
en
tries
used
are
those
lo
cated
b
y
the
previous
retriev
al
command.
If
the
pro cedure
do es
not
exist
in
the
curren
t
Pro
c-le,
or
if
the
Pro
c-le
has
not
b een
declared,
QUER
Y
prin
ts
an
error
message.
Before
the
pro cedure
is
executed,
QUER
Y
c
hec
ks
it
for
prop er
syn
tax.
If
an
y
statement
(except
the
rst
one)
is
incorrect,
QUER
Y
issues
an
error
message
and
prompts
y
ou
with
>>
.
A
t
this
p oint,
y
ou
can
en
ter
one
or
more
statements
to
replace
the
statement
causing
the
error.
The
statements
m
ust
b e
on
one
line
and
separated
b
y
semicolons.
If
an
y
of
these
substitute
statements
is
in
error,
QUER
Y
issues
another
error
message
and
prompts
y
ou
again.
Once
satisfactory
statements
ha
v
e
b een
en
tered,
QUER
Y
executes
the
pro cedure
using
the
newly
en
tered
statements
in
place
of
the
statements
in
error.
If
the
rst
rep ort
statement
is
in
error,
the
REPOR
T
command
terminates.
The
corrected
statements
are
not
p ermanen
t.
Once
the
pro cedure
has
executed,
the
en
tered
statements
are
lost.
The
pro cedure
remains
unc
hanged
in
the
Pro
c-le.
T
o
p ermanen
tly
c
hange
the
pro cedure,
y
ou
m
ust
use
the
AL
TER
command.
Figure
3-10,
for
example,
sho
ws
a
REPOR
T
pro cedure
named
SHIPMNTS.
The
third
line
con
tains
a
sort
statement
with
a
comma
missing.
3-134
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: ......