
When
a
retriev
al
command
is
executed,
QUER
Y
searc
hes
the
appropriate
data
set(s)
for
the
data
en
tries
whic
h
satisfy
the
relation(s).
QUER
Y
then
stores
the
record
addresses
of
these
en
tries
in
a
select
le.
When
a
REPOR
T,
REPOR
T
ALL,
UPD
A
TE
DELETE
or
UPD
A
TE
REPLA
CE
command
is
executed,
the
select
le
is
used
to
lo
cate
the
data
en
tries.
A
retriev
al
command
can
b e
stored
as
a
pro cedure
in
a
Pro
c-le
for
rep eated
use
without
re-en
tering
the
command.
Retriev
al
pro cedures
can
b e
created
whic
h
prompt
y
ou
for
the
desired
searc
h
v
alues
when
the
pro cedure
is
executed.
This
allo
ws
y
ou
to
searc
h
for
dieren
t
v
alues
of
the
same
data
item
eac
h
time
the
pro cedure
is
executed.
MODIFYING
D
A
T
A
The
up dating
commands,
UPD
A
TE
ADD,
UPD
A
TE
DELETE,
and
UPD
A
TE
REPLA
CE,
c
hange
the
data
in
the
data
base.
UPD
A
TE
DELETE
and
UPD
A
TE
REPLA
CE
op erate
on
the
en
tries
selected
b
y
the
last
FIND,
FIND
ALL,
or
SUBSET
command
following
a
FIND
or
FIND
ALL
command.
UPD
A
TE
ADD
do es
not
require
a
previous
retriev
al
command.
Y
ou
can
mo
dify
y
our
data
base
in
three
w
a
ys:
Add
data
en
tries
to
a
data
set.
Delete
data
en
tries
from
a
data
set.
Change
the
v
alue
of
data
items
not
dened
as
searc
h
or
sort
items
of
the
data
set.
Y
ou
m
ust
ha
v
e
sp ecied
an
access
mo
de
of
1,
2,
3,
or
4
to
use
the
up dating
commands.
If
y
ou
op ened
the
data
base
with
another
mo
de,
y
ou
can
use
the
MODE=,
DEFINE,
D
A
T
A-BASE=,
or
MUL
TIDB
command
to
sp ecify
another
mo
de.
If
y
ou
op ened
the
data
base
with
mo
de
2,
y
ou
can
only
use
UPD
A
TE
REPLA
CE.
If
y
ou
sp ecify
mo
de
1,
3,
or
4,
can
use
an
y
of
the
up dating
commands.
Ho
w
ev
er,
if
the
data
base
administrator
has
disallo w
ed
data
base
mo
dication,
no
one
can
mo
dify
the
data
base,
regardless
of
the
mo
de
sp ecied.
> DEFINE
DATA-BASE
=
>> ORDERS
PASSWORD
=
>> CLERK
MODE
=
>> 2
DATA-SETS
=
>> CUSTOMER
PROC-ENTITY
=
>> 4
RETURN
5
OUTPUT
=
TERM
OUTPUT
=
>> 4
RETURN
5
> FIND
LAST-NAME
IS
MARTENSEN
USING
SERIAL
READ
1
ENTRIES
QUALIFIED
> UPDATE
REPLACE,STREET-ADDRESS="2451
CHASEN
ROAD";END
>
An
up dating
command
can
b e
stored
as
a
pro cedure
in
a
Pro
c-le
for
rep eated
use
without
re-en
tering
the
command.
Up dating
pro cedures
can
b e
created
whic
h
prompt
y
ou
for
the
v
alues
to
b e
added,
deleted,
or
replaced
when
the
pro cedure
is
executed.
This
allo
ws
y
ou
to
mo
dify
the
data
with
dieren
t
v
alues
for
the
same
data
item(s)
eac
h
time
the
pro cedure
is
executed.
2-10
USING
QUERY/V
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: ......