RDB/VMS Relational Database Operator SET — VMS CDD+_4.1A
Changes the characteristics of RDO terminal sessions. You can control: o The default directory in the data dictionary o The file in which the session is recorded o The execution of RDO data manipulation statements o The display of statements from a command file o The number of statements to be included in the editing buffer
Additional information available:
DICTIONARYCOMMANDOUTPUTNOOUTPUTVERIFYEDIT
DICTIONARY
Changes your default data dictionary to the path name you specify.
Example:
RDO> SET DICTIONARY 'DISK1:[DICTIONARY]CORP.DEPT3'
Format
SET ───┬───>
D
I
C
T
I
O
N
A
R
Y ───> path-name ──────┬───>
├───>
O
U
T
P
U
T ────┬─────────────────┬──┤
│ └──> file-spec ───┘ │
├───>
N
O
O
U
T
P
U
T ───────────────────────┤
├───>
C
O
M
M
A
N
D ─┬─>
E
X
E
C
U
T
E ────┬──────┤
│ └─>
N
O
E
X
E
C
U
T
E ──┘ │
├───>
V
E
R
I
F
Y ─────────────────────────┤
├───>
N
O
V
E
R
I
F
Y ───────────────────────┤
└───>
E
D
I
T ───┬──>
K
E
E
P ───> n ──┬────┘
├──>
N
O
K
E
E
P ───────┤
└──>
P
U
R
G
E ────────┘
COMMAND
Specifies whether data manipulation queries you enter in an RDO session are executed (SET COMMAND EXECUTE) or not executed (SET COMMAND NOEXECUTE). SET COMMAND EXECUTE is the default. Format SET ───┬───>
D
I
C
T
I
O
N
A
R
Y ───> path-name ──────┬───> ├───>
O
U
T
P
U
T ────┬─────────────────┬──┤ │ └──> file-spec ───┘ │ ├───>
N
O
O
U
T
P
U
T ───────────────────────┤ ├───>
C
O
M
M
A
N
D ─┬─>
E
X
E
C
U
T
E ────┬──────┤ │ └─>
N
O
E
X
E
C
U
T
E ──┘ │ ├───>
V
E
R
I
F
Y ─────────────────────────┤ ├───>
N
O
V
E
R
I
F
Y ───────────────────────┤ └───>
E
D
I
T ───┬──>
K
E
E
P ───> n ──┬────┘ ├──>
N
O
K
E
E
P ───────┤ └──>
P
U
R
G
E ────────┘
OUTPUT
Names the default target for output. The default file type is LIS.
If you specify SET OUTPUT with a file name, RDO writes its output to
a log file that you specify. The output is also written to
SYS$OUTPUT, which is usually the terminal. If you do not specify a
file name, RDO writes the output only to SYS$OUTPUT. The log file
contains both statements and results. SET OUTPUT lets you check the
results of command procedures run in batch mode.
Example:
RDO> SET OUTPUT DISK2:[DEPT3]PERSONNEL.LOG
Format
SET ───┬───>
D
I
C
T
I
O
N
A
R
Y ───> path-name ──────┬───>
├───>
O
U
T
P
U
T ────┬─────────────────┬──┤
│ └──> file-spec ───┘ │
├───>
N
O
O
U
T
P
U
T ───────────────────────┤
├───>
C
O
M
M
A
N
D ─┬─>
E
X
E
C
U
T
E ────┬──────┤
│ └─>
N
O
E
X
E
C
U
T
E ──┘ │
├───>
V
E
R
I
F
Y ─────────────────────────┤
├───>
N
O
V
E
R
I
F
Y ───────────────────────┤
└───>
E
D
I
T ───┬──>
K
E
E
P ───> n ──┬────┘
├──>
N
O
K
E
E
P ───────┤
└──>
P
U
R
G
E ────────┘
NOOUTPUT
Closes the log file you named in the SET OUTPUT statement. Format SET ───┬───>
D
I
C
T
I
O
N
A
R
Y ───> path-name ──────┬───> ├───>
O
U
T
P
U
T ────┬─────────────────┬──┤ │ └──> file-spec ───┘ │ ├───>
N
O
O
U
T
P
U
T ───────────────────────┤ ├───>
C
O
M
M
A
N
D ─┬─>
E
X
E
C
U
T
E ────┬──────┤ │ └─>
N
O
E
X
E
C
U
T
E ──┘ │ ├───>
V
E
R
I
F
Y ─────────────────────────┤ ├───>
N
O
V
E
R
I
F
Y ───────────────────────┤ └───>
E
D
I
T ───┬──>
K
E
E
P ───> n ──┬────┘ ├──>
N
O
K
E
E
P ───────┤ └──>
P
U
R
G
E ────────┘
VERIFY
If you specify SET VERIFY, RDO displays indirect command files at your terminal as you run them. If you specify SET NOVERIFY, RDO does not display indirect command files. NOVERIFY is the default setting. Format SET ───┬───>
D
I
C
T
I
O
N
A
R
Y ───> path-name ──────┬───> ├───>
O
U
T
P
U
T ────┬─────────────────┬──┤ │ └──> file-spec ───┘ │ ├───>
N
O
O
U
T
P
U
T ───────────────────────┤ ├───>
C
O
M
M
A
N
D ─┬─>
E
X
E
C
U
T
E ────┬──────┤ │ └─>
N
O
E
X
E
C
U
T
E ──┘ │ ├───>
V
E
R
I
F
Y ─────────────────────────┤ ├───>
N
O
V
E
R
I
F
Y ───────────────────────┤ └───>
E
D
I
T ───┬──>
K
E
E
P ───> n ──┬────┘ ├──>
N
O
K
E
E
P ───────┤ └──>
P
U
R
G
E ────────┘
EDIT
SET ───┬───>
D
I
C
T
I
O
N
A
R
Y ───> path-name ──────┬───> ├───>
O
U
T
P
U
T ────┬─────────────────┬──┤ │ └──> file-spec ───┘ │ ├───>
N
O
O
U
T
P
U
T ───────────────────────┤ ├───>
C
O
M
M
A
N
D ─┬─>
E
X
E
C
U
T
E ────┬──────┤ │ └─>
N
O
E
X
E
C
U
T
E ──┘ │ ├───>
V
E
R
I
F
Y ─────────────────────────┤ ├───>
N
O
V
E
R
I
F
Y ───────────────────────┤ └───>
E
D
I
T ───┬──>
K
E
E
P ───> n ──┬────┘ ├──>
N
O
K
E
E
P ───────┤ └──>
P
U
R
G
E ────────┘ Controls the size of the editing buffer that you create when you use the EDIT statement with a wildcard as the parameter: SET EDIT KEEP n Keep the previous n statements. Default: 20. SET EDIT NOKEEP Do not save previous commands as they are typed. SET EDIT PURGE Continue to save commands, but purge buffer now.