
UPD
A
TE
DELETE
UPD
A
TE
DELETE
Deletes
data
en
tries
from
a
data
set.
Syntax
U
2
PDATE
3
DELETE
DEL
2
ETE
3
Discussion
This
command
is
an
extension
of
a
retriev
al
command
in
that
it
deletes
those
en
tries
selected
b
y
the
previous
retriev
al
command.
All
of
the
en
tries
m
ust
reside
in
the
same
data
set.
UPD
A
TE
DELETE
may
only
b e
used
follo wing
the
FIND
or
FIND
ALL
command
or
SUBSET
command
following
a
FIND
or
FIND
ALL
command.
En
tering
FIND
CHAIN
or
MUL
TIFIND
(selecting
en
tries
from
more
than
one
data
set)
and
then
UPD
A
TE
DELETE
is
not
allo
w
ed.
T
o
delete
en
tries
from
a
data
set,
y
ou
m
ust
ha
v
e
write
access
to
the
data
set,
as
determined
b
y
the
passw
ord
y
ou
en
ter
in
resp onse
to
the
P
ASSW
ORD=
prompt
or
through
the
P
ASSW
ORD=
command.
When
y
ou
en
ter
an
UPD
A
TE
DELETE
command,
QUER
Y
prin
ts
the
message:
DELETE
ALL
RETRIEVED
ENTRIES
(YES
OR
NO)?
This
message
is
reminder
that
all
the
en
tries
selected
b
y
the
last
retriev
al
command
will
b e
deleted
b
y
the
command.
If
y
ou
resp ond
YES,
QUER
Y
deletes
the
en
tries.
If
y
ou
resp ond
NO,
the
command
is
ignored
and
y
ou
are
prompted
for
another
command.
In
job
mo
de,
the
en
tries
are
deleted
without
conrmation.
In
a
pro cedure,
y
ou
m
ust
use
the
UPD
A
TE
DELETE
form
of
the
command.
UPD
A
TE
may
b e
abbreviated.
DELETE
may
not
b e
abbreviated
when
using
it
with
the
UPD
A
TE
k
eyw
ord.
Y
ou
m
ust
ha
v
e
sp ecied
a
mo
de
of
1,
3,
or
4
in
order
to
use
this
command.
Master
Data
Entries
QUER
Y
disallo
ws
an
y
attempt
to
delete
the
master
en
try
if
its
searc
h
item
v
alue
still
exists
in
the
searc
h
items
of
the
appropriately
linked
detail
data
sets.
Ho
w
ev
er,
QUER
Y
will
con
tinue
to
delete
as
man
y
en
tries
as
it
can.
When
all
p ossible
en
tries
ha
v
e
b een
deleted,
QUER
Y
will
issue
a
message
indicating
ho
w
man
y
master
en
tries
with
asso
ciated
details
w
ere
encoun
tered,
and
ho
w
man
y
en
tries
w
ere
able
to
b e
successfully
deleted.
> F
CUSTOMER.ACCOUNT
IS
07954001
1
ENTRIES
QUALIFIED
> U
DELETE
DELETE
ALL
RETRIEVED
ENTRIES
(YES
OR
NO)?
>> YES
1
ENTRIES
NOT
DELETED
BECAUSE
CORRESPONDING
DETAIL
DATA
ENTRIES
EXIST
0
OF
1
QUALIFYING
ENTRIES
DELETED
> FIND
SALES.ACCOUNT
IS
07954001
1
ENTRIES
QUALIFIED
> DEL
DELETE
ALL
RETRIEVED
ENTRIES
(YES
OR
NO)
?
>> YES
QUERY/V
COMMANDS
3-151
Содержание 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: ......