editda - Edit Data Area

editda

The Edit Data Area utility (editda) is a command line tool for managing some aspects of data areas without using the dbdef utility. This includes creating new data areas and data IDs and performing routine metadata changes for data areas in a product line.

Any customer who wants to enable varchars for a table must use editda. All other features can be performed using the dbdef utility, and not all functionality of dbdef can be duplicated with editda.

You can use the following commands.

To do this Use this command
Print version information. editda -V
Change (or create) data areas as specified in the file. editda -c[lav] productline dir-file
List data areas as specified in the file. editda -l[av] productline dir-file
List an existing data area. editda -l[av] dataarea
Delete an existing data area. editda -d[Y] dataarea

The program options for the above commands are described below.

Program Option Description
V Print version information.
c Change/create data area(s) in dir-file to the product line.
l List data area changes.
d Delete the data area.
a Show all files and system codes in output.
v Show actual value for defaults in output.
productline The product line target for the directives in file.
Y

When deleting, the utility asks the user, "Do you want to delete?" The user may respond manually Y (Yes, delete) or N (No, don't delete).

The Y option automates the manual prompt step.

dir-file contains a number of directives, each line having one of the following formats.

For more information, see the Data Access manual for your database.