
OUTPUT=
Example
2
The
next
example
illustrates
the
metho d
for
sending
output
to
a
tap
e
device.
In
this
case,
a
pro cedure
from
the
Pro
c-le
is
listed
rst
on
the
terminal
and
then
on
a
tap
e.
The
4
BREAK
5
k
ey
is
used
to
return
to
MPE.
QSLIST
is
equated
to
a
magnetic
tap
e
device.
QUER
Y
execution
is
resumed
and
the
output
device
is
c
hanged
to
QSLIST.
The
pro cedure
is
written
to
the
QSLIST
device
and
the
output
device
is
set
to
the
terminal
again.
> DISPLAY
FNAMES
PROCEDURE:
FNAMES
001
FIND
LAST-NAME=""
END
> 4
BREAK
5
: FILE
QSLIST;DEV=TAPE
: RESUME
READ
pending
4
RETURN
5
> OUTPUT=LP
> DISPLAY
FNAMES
> OUTPUT=TERM
Example
3
In
this
example,
one
en
try
is
retrieved
with
the
FIND
command,
and
is
display
ed
with
the
REPOR
T
ALL
command.
Next,
the
4
BREAK
5
k
ey
is
used
to
temp orarily
return
to
the
op erating
system.
The
FILE
command
redirects
QSLIST
to
a
disc
le
named
SA
VER
whic
h
QUER
Y
creates.
QUER
Y
execution
is
resumed.
Finally
,
the
OUTPUT=LP
and
REPOR
T
ALL
commands
are
used
to
write
data
to
the
SA
VER
le.
> FIND
CUSTOMER.LAST-NAME
IS
CORCORAN
END
USING
SERIAL
READ
1
ENTRIES
QUALIFIED
> REPORT
ALL
ACCOUNT
=54283540
LAST-NAME
=CORCORAN
FIRST-NAME
=CLIFFORD
INITIAL
=C
STREET-ADDRESS
=6105
VALLEY
GREEN
DR.
CITY
=CARMEL
STATE
=CA
ZIP
=93921
CREDIT-RATING
=
7.10000
> 4
BREAK
5
: FILE
QSLIST=SAVER,NEW;DEV=DISC
: RESUME
READ
pending
4
RETURN
5
> OUTPUT=LP
> REPORT
ALL
>
QUERY/V
COMMANDS
3-87
Содержание 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: ......