
XEQ
Executes
QUER
Y
commands
from
a
le
instead
of
the
standard
input
device.
Syntax
X
2
EQ
3
lename
2
,NODATA
3
F
or
example:
XEQ
CFILE,NODATA
Where
lename
=
FILE
and
option
=
,NODATA
P
arameters
lename
is
the
name
of
an
ASCI I
le
con
taining
commands
and
parameters.
NODATA
if
sp ecied,
QUER
Y
prompts
for
n
ull
data
v
alues
and
an
y
command
parameters
when
the
XEQ
le
is
executed.
Discussion
When
the
XEQ
command
is
en
tered,
QUER
Y
reads
the
sp ecied
le
and
executes
the
commands
un
til
an
end-of-le
or
another
XEQ
command
is
encoun
tered.
An
y
command
input
is
also
read
from
lename
unless
NOD
A
T
A
is
sp ecied.
When
an
end-of-le
is
reac
hed,
con
trol
returns
to
the
original
command
input
device
(in
session
mo
de,
the
terminal,
or
in
job
mo
de,
the
job
input
device).
Only
the
rst
72
c
haracters
of
eac
h
record
are
read.
Y
ou
can
con
tinue
a
command
on
the
next
record
b
y
en
tering
an
amp ersand
(&)
as
the
last
non-blank
c
haracter
in
the
curren
t
record.
If
an
error
o ccurs
while
op ening
the
data
base
in
session
mo
de,
QUER
Y
will
close
the
XEQ
le
and
prompt
for
another
command.
In
job
mo
de,
QUER
Y
closes
the
XEQ
le
and
the
job
is
terminated.
An
XEQ
command
within
another
XEQ
le
will
close
the
rst
le
and
op en
the
new
one.
The
initial
le
is
nev
er
reop ened.
QUER
Y
p erforms
an
end-of-le
on
the
rst
le
and
con
trol
transfers
to
the
new
le.
The
NOD
A
T
A
option
sp ecies
that
the
XEQ
le
only
con
tains
commands
and
do es
not
con
tain
an
y
data
needed
b
y
the
command.
QUER
Y
will
prompt
y
ou
for
the
data.
Control
Y
When
y
ou
en
ter
4
CONTROL
5
Y
during
the
execution
of
an
XEQ
le,
QUER
Y
will
terminate
the
command
curren
tly
executing,
close
the
XEQ
le
and
prompt
for
another
command.
If
a
FIND,
MUL
TIFIND,
or
SUBSET
command
is
executing
when
4
CONTROL
5
Y
is
en
tered,
QUER
Y
will
prin
t
the
follo
wing
message.
x
ENTRIES
HAVE
QUALIFIED,
DO
YOU
WANT
TO
CONTINUE
SEARCHING?
If
y
ou
resp ond
YES,
QUER
Y
will
complete
the
searc
h
and
execute
the
rest
of
the
commands
in
the
XEQ
le.
If
y
ou
resp ond
NO,
QUER
Y
will
terminate
the
retriev
al
command,
close
the
XEQ
le,
and
prompt
for
another
command.
3-160
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: ......