COPYDB

Copies a database structure from one database to another.

See Copying the Database Structure in the DP4 Developer's Manual for further information about this program.

Command Tail Description

−EXTRACT

Extract the database structure to an ASCII file

−POST

Post the database structure from an ASCII file

filenames

List of files to process when posting

−DIRECT
−QUICK

Construct direct links in MAKELINK phase, (not the indirect links required by Report Writer and QAB)

−DISTANCE n

Create indirect links only up to distance n in MAKELINK phase. (The default is 4)

−BYNUMBER

Specify that number is to take precedence over name in Table/Field matching

−NOPAUSE

Do not pause on warnings while posting

−AUTODEFAULT

Copy the autoincrement field settings from source database

−EITHER

When extracting selected tables, include index information if either the child or parent table is one of the extracted tables. The default behaviour only includes indexes where both tables are extracted tables, which is usually not helpful.

−NODELETE

Prevent the existing table structure from being deleted