
: EDITOR
HP32201A.7.15
EDIT/3000
MON,
MAR
23,
1987
11:49
AM
(C)
HEWLETT-PACKARD
CO.
1985
/ TEXT
EXAMPLE
/ LIST
ALL
1
:JOB
EXAMPLE,MANAGER.DATAMGT,ACCOUNTS
2
:RUN
QUERY.PUB.SYS
3
DATA-BASE=ORDERS
4
CLERK
5
5
6
DATA-SETS=CUSTOMER
7
FIND
LAST-NAME
IS
MARTENSEN
8
REPORT
ALL
9
EXIT
10
:EOJ
/ EXIT
: STREAM
EXAMPLE
#J539
:
Figure
2-1.
Job
Mode
Operation
Discussion
In
a
job
le,
the
QUER
Y
prompts
( >
and
>>
)
m
ust
b e
excluded.
Only
MPE
commands
require
prompts
(:).
The
rst
line
of
the
job
le
m
ust
con
tain
an
MPE
:JOB
command.
The
second
line
con
tains
an
MPE
:R
UN
command
to
initiate
QUER
Y
execution.
On
line
3,
the
data
base
name,
ORDERS,
is
sp ecied
using
the
D
A
T
A-BASE=
command.
The
DEFINE
command
could
also
ha
v
e
b een
used
to
op en
the
primary
data
base.
In
session
mo
de
the
D
A
T
A-BASE=
command
prompts
for
the
passw
ord
and
access
mo
de.
In
job
mo
de,
this
information
m
ust
b e
supplied
on
separate
lines
in
the
correct
order
and
without
the
prompts.
In
this
example,
the
passw
ord
is
CLERK
and
the
access
mo
de
is
5.
The
data
set
name,
CUSTOMER,
is
sp ecied
for
the
data
set
list
using
the
D
A
T
A-SETS=
command.
The
FIND
command
with
retriev
al
sp ecications
is
used
on
line
7.
The
REPOR
T
ALL
command
is
used
to
display
the
en
tries
whic
h
qualied.
QUER
Y
execution
is
terminated
with
the
EXIT
command
on
line
9.
The
job
is
terminated
with
an
MPE
:EOJ
command
(end
of
job)
on
line
10.
The
MPE
:STREAM
command
is
used
to
execute
a
job
le.
MPE
assigns
and
displays
a
job
n
um
b er.
Refer
to
the
MPE
Commands
R
efer
enc
e
Manual
for
more
information
ab out
running
programs
in
job
mo
de.
2-4
USING
QUERY/V
Summary of Contents for QUERY
Page 10: ......
Page 17: ...Figure 1 1 ORDERS Data Base Structure Figure 1 2 Sample Entry Values INTRODUCING QUERY V 1 7 ...
Page 20: ...Figure 1 3 IMAGE QUERY Environments 1 10 INTRODUCING QUERY V ...
Page 36: ......
Page 165: ...REPORT G1 GROUP TITLE 11 END QUERY V COMMANDS 3 129 ...
Page 199: ...XEQ TF TOTAL DUE 9 SPACE B2 SKIP A TF R0 70 E2 S PURCH DATE END QUERY V COMMANDS 3 163 ...
Page 200: ......
Page 244: ......
Page 278: ......
Page 279: ...G ASCII CHARACTER SET This appendix is not available in this edition ASCII CHARACTER SET G 1 ...
Page 280: ......