
AL
TER
Inserts,
replaces,
and
deletes
lines
of
a
pro cedure
stored
in
the
curren
t
Pro
c-le.
Syntax
A
2
LTER
3
pr
o
c
e
dur
e
name
F
or
example:
>ALTER
REP22
Wherepr
o
c
e
dur
e
name
=
REP22
P
arameter
pr
o
c
e
dur
e
name
is
the
name
of
a
pro cedure
stored
in
the
curren
t
Pro
c-le.
Discussion
When
y
ou
en
ter
the
AL
TER
command,
QUER
Y
prompts
y
ou
for
insert,
replace,
and
delete
statements
b
y
prin
ting
>>
.
Eac
h
statement
op erates
on
a
line
or
range
of
lines
in
the
pro cedure.
In
the
statement
descriptions
that
follow,
m
is
the
rst
line
n
um
b er
in
the
range,
and
n
is
the
last
line
n
um
b er.
n
m
ust
alwa
ys
b e
greater
than
or
equal
to
m
,
and
m
m
ust
b e
greater
than
or
equal
to
1.
Neither
m
nor
n
can
exceed
the
total
n
um
b er
of
lines
in
the
pro cedure.
Once
y
ou
en
ter
the
AL
TER
command,
y
ou
m
ust
do
y
our
editing
sequen
tially
from
low
er
n
um
b ered
lines
to
higher
n
um
b ered
lines.
Y
ou
cannot
go
bac
k
to
a
line
whic
h
precedes
the
ones
y
ou
are
curren
tly
editing
without
exiting
the
AL
TER
command
and
en
tering
another
AL
TER
command.
This
tec
hnique
is
illustrated
in
the
examples
whic
h
follo w.
If
an
error
o ccurs
after
a
statement
is
en
tered,
an
error
message
is
prin
ted
and
QUER
Y
prompts
y
ou
for
another
AL
TER
statement.
Y
ou
can
ab ort
the
command
at
an
y
time
b
y
en
tering
4
CONTROL
5
Y.
If
y
ou
do
this,
the
pro cedure
will
remain
unc
hanged.
Alwa
ys
terminate
the
command
with
/E
if
y
ou
w
an
t
to
sa
v
e
the
results
of
y
our
c
hanges.
Y
ou
can
use
one
of
four
statements
in
resp onse
to
an
AL
TER
prompt:
Insert,
Replace,
Delete,
and
End.
Lines
whic
h
are
added
or
c
hanged
are
not
c
hec
k
ed
for
correct
syn
tax
un
til
the
pro cedure
is
executed.
Similarly
,
if
line
deletion
causes
a
command
to
ha
v
e
incorrect
syn
tax,
it
not
will
b e
detected
un
til
the
pro cedure
is
executed.
3-2
QUERY/V
COMMANDS
Содержание 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: ......