
ASSIGN
Enables
or
disables
the
data
base
lo
c
k
option.
Syntax
AS
2
SIGN
32
data
b
ase
name :
3
LOCKOPTION
=
ON
OFF
F
or
example:
>ASSIGN
LOCKOPTION
=
OFF
P
arameters
data
b
ase
name
is
the
name
of
a
data
base
op ened
with
either
DEFINE,
D
A
T
A-BASE=,
or
MUL
TIDB.
Y
ou
m
ust
sp ecify
the
data
base
name
if
more
than
one
data
base
is
op en.
ON
enables
the
lo
c
k
option.
The
default
ON.
OFF
disables
the
lo
c
k
option.
Discussion
When
LOCK
OPTION
is
set
to
ON
(the
default),
QUER
Y
automatically
lo
c
ks
data
bases
op ened
b
y
QUER
Y
in
mo
de
1
or
5
while
a
retriev
al
or
rep orting
command
is
executing.
This
ensures
that
the
resulting
rep ort
do es
not
con
tain
errors
due
to
dynamic
c
hanges
made
b
y
other
users
concurren
tly
accessing
the
same
data.
In
some
cases,
automatic
lo
c
king
may
b e
o
v
erprotectiv
e
if
no
other
users
can
concurren
tly
mo
dify
data
that
aects
y
our
retriev
al
or
rep orting
command.
F
or
example,
protection
may
b e
pro
vided
through
data
base
passw
ords
or
through
exclusiv
e
sc
heduling
of
tasks.
In
suc
h
cases,
automatic
lo
c
king
b
y
QUER
Y
can
needlessly
increase
resp onse
time
for
other
users.
By
setting
the
LOCK
OPTION
to
OFF,
y
ou
prev
en
t
QUER
Y
from
lo
c
king
data
bases
op ened
in
mo
de
1
or
5.
Ho
w
ev
er,
when
up dating
a
data
base
op ened
in
mo
de
1
or
5,
QUER
Y
lo
c
ks
regardless
of
the
state
of
the
LOCK
OPTION.
The
LOCK
OPTION
can
b e
set
to
OFF
or
ON
at
an
y
time,
and
remains
in
eect
un
til
it
is
reset
b
y
a
subsequen
t
ASSIGN
command.
T
o
determine
the
curren
t
state
of
the
LOCK
OPTION,
use
the
SHO
W
command.
3-8
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: ......