
USING
PROCEDURES
IN
A
PROC-FILE
A
single
QUER
Y
command
can
b e
stored
as
a
named
pro cedure
for
rep eated
use
without
re-en
tering
the
command.
The
commands
whic
h
can
b e
used
in
a
pro cedure
are
listed
in
T
able
2-2 .
Y
ou
execute
a
pro cedure
b
y
referencing
it
with
a
form
of
the
command
used
in
the
pro cedure.
Refer
to
T
able
2-2
for
the
commands
that
are
used
to
execute
pro cedures.
F
or
example,
if
a
pro cedure
named
FINDNAME
con
tains
the
FIND
command,
y
ou
w
ould
execute
the
pro cedure
b
y
t
yping:
>FIND
FINDNAME
Y
ou
store
one
or
more
pro cedures
in
an
MPE
le
called
a
Pro
c-le.
Only
one
Pro
c-le
is
\active"
at
an
y
time.
The
activ
e
Pro
c-le
is
called
the
curren
t
Pro
c-le.
When
y
ou
execute
a
pro cedure,
QUER
Y
searc
hes
the
curren
t
Pro
c-le
for
the
sp ecied
pro cedure.
Therefore,
b efore
executing
a
pro cedure,
y
ou
m
ust
sp ecify
the
curren
t
Pro
c-le
with
the
PR
OC-ENTITY
=
command
or
in
resp onse
to
the
prompt
issued
b
y
the
DEFINE
command.
T
o
access
a
Pro
c-le,
y
ou
m
ust
ha
v
e
read
and
lo
c
k
access
to
the
group
and
accoun
t
in
whic
h
the
Pro
c-le
resides.
T
able
2-2.
Procedure
Commands
USED
IN
A
PR
OCEDURE
EXECUTES
A
PR
OCEDURE
FIND
FIND
ALL
FIND
CHAIN
FIND
pr
o
c
e
dur
e
JOIN
JOIN
pr
o
c
e
dur
e
MULTIFIND
MULTIFIND
ALL
MULTIFIND
pr
o
c
e
dur
e
REPORT
REPORT
ALL
REPORT
pr
o
c
e
dur
e
SUBSET
SUBSET
pr
o
c
e
dur
e
UPDATE
ADD
*
UPDATE
DELETE
*
UPDATE
REPLACE
*
UPDATE
pr
o
c
e
dur
e
*
In
a
pro cedure,
the
up dating
commands
m
ust
include
the
UPD
A
TE
k
eyw
ord
or
its
abbreviation.
A
pro cedure
can
b e
created
within
QUER
Y
or
copied
from
an
MPE
ASCI I
le.
The
QUER
Y
commands
that
op erate
on
pro cedures
are
discussed
in
T
able
2-3 .
2-12
USING
QUERY/V
Содержание 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: ......