Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the edds
command to edit an existing dataset file. You can replace the entire contents of a file in one of the following ways:
Using the --input/-i
option on the command line, which enables you to input the file on the command line.
Omitting the --input/-i
option, which opens a default editor window where you can input data and make changes in the editor. You apply the changes when you exit the editor. The default editor is defined by your EDITOR
environment variable.
See Also:
"Dataset Commands" for related commandsPrerequisites
You must have the modify administrative domain's configuration right to run the edds
command.
Syntax
edds::=
edds [ --nq ] [ --nocheck/-C ] [ --input/-i ] dataset-file-name
Semantics
Does not display a confirmation message. If you do not specify this option, then the command displays a confirmation message. The message is described in "Command Execution in Interactive Mode".
Disables syntactic checking of a dataset file for errors.
Enables you to input or replace the entire contents of a dataset file.
Specifies the name of a dataset file. Refer to "dataset-file-name" for a descriptions of the dataset-file-name placeholder.
Example
Example 2-33 opens a dataset file that contains bad syntax, replaces its contents with new syntax, and then checks its syntax.
Example 2-33 Checking a File for Syntax
ob> catds badsyntax.ds icnlude host brhost2 ob> edds --nq --input badsyntax.ds Input the replacement dataset contents. Terminate with an EOF or a line containing just a dot ("."). include host brhost2 include path /home . ob> catds badsyntax.ds include host brhost2 include path /home ob> chkds badsyntax.ds