editda Syntax
The following table shows the parameters for the editda command.
Program Option | Description |
---|---|
V
|
Print version information. |
c
|
Change (or create) all data areas in the product line as per the directives file. |
l
|
List data area changes. |
d
|
Delete the data area. The user is prompted
(
The |
a
|
Show all files and system codes in output. (By default editda shows changed files only.) |
v
|
Show actual value for defaults in output. (By default editda shows asterisks.) |
productline
|
The product line target for the directives file (dir_file). |
dir_file
|
Path to a text file that contains directives for execution of the editda command. |
Y
|
Suppress the prompt for a delete (-d ) command. Use this when deleting data areas from a script.
|
The following are examples of uses of the editda command.
Example: Change Data Area Settings
Changes data areas specified in the directives file according to the values in the directives file.
editda -c [-
lav] productline dir_file
If -l
is specified, changes are written to
standard output. If -a
is specified, all files and
system codes appear in the output. If -v
is specified,
actual values for defaults appear in the output.
Example: List Data Area Settings
Sends a list to standard output of the values for data area settings. The output is the same format as the directives file. Directives File Syntax
editda -l [-av] dataarea
If -a
is specified, all files and system codes
appear in the output. If -v
is specified, actual
values for defaults appear in the output.
Example: Delete a Data Area
Deletes the specified data area or data ID from GEN, all directories, and dictionaries.
editda -d -[Y] dataarea
If you do not use the -Y
option, users are
prompted to make sure they want to continue with the delete. If you
use the -Y
option, the prompt is skipped.