Modifying Database Files (dbmodify)

dbmodify changes the data in a file based on the instructions in a field assignment file.

At a Landmark command prompt, type

dbmodify [-bBq] -A FieldAssignmentFile [-f "FilterString"] [-i IndexName] [--threads n] DataArea [Module|File [...]]

Consider the following

Program Option Description
b Brief mode - do not display progress while the copy is in operation.
q Quiet mode (do not print informational messages)
A FieldAssignmentFile

Use information in a specified file to change field or file names, or initialize field values in the destination file. FieldAssignmentFile is the Field assignment file name.

Using Field Assignment Files

B Use the business class parser when filtering. The default is to parse against the dictionary -B rather than the business class spec repository. However, if filtering on such things as derived fields, the business class parser may be necessary.
i IndexName Exports the data using an index sequence (for example, -iGLMSET1). The index name must follow the -i.
f "FilterString"

Limit the output based on the specified filter value for the index keys of the file. The filter can be a conditional expression, such as

-f "FileName.FieldName=123"

- or -

-f "Relationship.FieldName=123"

For an example of a filter in a similar command, see Example: Displaying a Field's Data Using a Filter .

--threads n Run the dbmodify with the specified number of threads. If you use multiple threads, you may see a performance improvement. However, performance is dependent on other factors as well. Note also that a very large table will be processed in a single thread.
DataArea [Module [...]] [File [...]] Specify the module(s) and/or file(s) that you want to export.