
DEFINE
If
y
ou
are
not
sure
that
y
ou
will
ha
v
e
access
to
the
data
items
y
ou
need,
y
ou
can
c
hange
the
passw
ord
with
the
DEFINE,
D
A
T
A-BASE=,
or
P
ASSW
ORD=
command.
Refer
to
the
command
description
of
eac
h
prompt
for
more
information
ab out
the
purp ose
of
eac
h
en
vironmen
t
sp ecication.
Examples
Example
1
> DEFINE
DATA-BASE
=
>> ORDERS
PASSWORD
=
>> CLERK
MODE
=
>> 5
DATA-SETS
=
>> 4
RETURN
5
PROC-FILE
=
>> MANPROC
OUTPUT
=
TERM
OUTPUT
=
>> 4
RETURN
5
>
The
DEFINE
command
can
b e
used
to
set
up
the
en
vironmen
t
of
the
primary
data
base
for
y
our
QUER
Y
session.
QUER
Y
prompts
for
the
data
base
name,
passw
ord,
mo
de,
data
set
list,
and
pro cedure
le
name.
The
curren
t
output
device
is
the
terminal
b ecause
4
RETURN
5
is
pressed
in
resp onse
to
the
prompt.
Example
2
> DEFINE
DATA-BASE
=
ORDERS
DATA-BASE
=
>> 4
RETURN
5
PASSWORD
=
**********
PASSWORD
=
>> 4
RETURN
5
MODE
=
5
MODE
=
>> 4
RETURN
5
DATA-SETS
=
>> 4
RETURN
5
PROC-FILE
=
MANPROC
PROC-FILE
=
>> CANNED
OUTPUT
=
TERM
OUTPUT
=
>> 4
RETURN
5
>
The
DEFINE
command
is
also
useful
for
listing
the
curren
t
en
vironmen
t
of
the
primary
data
base
and
c
hanging
it.
Once
the
en
vironmen
t
for
the
primary
data
base
has
b een
dened,
QUER
Y
prin
ts
the
curren
t
setting
for
eac
h
en
vironmen
t
command
and
allo
ws
y
ou
to
c
hange
it
or
press
4
return
5
to
leav
e
it
as
is.
In
the
example
ab o
v
e,
the
Pro
c-le
is
c
hanged
from
MANPR
OC
to
CANNED.
QUERY/V
COMMANDS
3-25
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: ......