
OUTPUT=
The
following
:FILE
command
is
used
to
send
the
output
to
a
magnetic
tap
e.
In
this
case,
T
APE
is
the
name
of
the
class
of
devices
kno
wn
as
magnetic
tap
es.
:FILE
QSLIST;DEV=TAPE
T
o
send
output
to
a
disc
le,
follo w
the
instructions
b elow.
If
QSLIST
is
not
a
p ermanen
t
le,
y
ou
can
sp ecify
the
follo wing
le
command:
:FILE
QSLIST;DEV=DISC
QUER
Y
will
build
the
new
le
as
an
ASCI I
le
with
v
ariable
length
records
of
136
b
ytes.
The
rst
b
yte
con
tains
carriage
con
trol
for
the
le.
If
y
ou
w
an
t
to
o
v
erride
these
defaults
y
ou
m
ust
sp ecify
what
y
ou
w
an
t
in
the
le
equation.
F
or
example,
the
follo
wing
will
create
an
ASCI I
le
named
QSLIST
with
carriage
con
trol
and
xed
length
records
of
80
b
ytes.
:FILE
QSLIST;DEV=DISC;REC=-80,,F,ASCII;CCTL
If
QSLIST
is
already
a
p ermanen
t
le
or
y
ou
w
an
t
to
send
the
output
to
a
le
with
a
dieren
t
name,
y
ou
can
sp ecify
the
follo
wing
:FILE
command.
fname
is
the
name
of
the
le
y
ou
w
an
t
to
create:
:FILE
QSLIST= fname
,NEW;DEV=DISC
If
y
ou
use
the
NEW
option
in
a
:FILE
command
and
the
le
already
exists,
QUER
Y
prin
ts
the
follo
wing
message:
QSLIST
ALREADY
EXISTS,
PURGE
OLD
FILE?
If
y
ou
resp ond
with
\Y",
QUER
Y
o
v
erwrites
the
existing
le.
If
y
ou
resp ond
with
\N",
a
le
system
error
message
is
returned
and
OUTPUT
is
reset
to
TERM.
If
y
ou
w
an
t
QUER
Y
to
app end
to
an
existing
le,
y
ou
m
ust
use
the
APPEND
option,
as
sho
wn
b elow.
:FILE
QSLIST= fname
,OLD;DEV=DISC;ACC=APPEND
Refer
to
the
MPE
Commands
R
efer
enc
e
Manual
for
information
on
using
the
FILE
command.
Examples
Example
1
In
this
example,
QUER
Y
is
running
in
session
mo
de.
QSLIST
is
equated
to
a
terminal
initially
.
When
the
output
device
to
QSLIST
is
c
hanged
to
LP
,
the
INVENTOR
Y
data
set
is
listed
on
the
line
prin
ter.
When
the
output
device
is
set
to
the
terminal
again,
the
INVENTOR
Y
data
set
is
listed
on
the
terminal.
> OUTPUT=LP
> LIST
INVENTORY
> O=TERM
> LIST
INVENTORY
STOCK#
ONHANDQTY
SUPPLIER
UNIT-COS
LASTSH
BIN
6650D22S
5306
ACME
WIDGET
1427
120385
3
2457A11C
11001345
ACME
WIDGET
5031
120185
1
3586T14Y
144
CARDINAL
MILLS
249
112085
2
3-86
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: ......