Try OpenEdge Now
skip to main content
Database Administration
Database Basics : Creating and Deleting Databases : Creating a database with the PRODB utility
 

Creating a database with the PRODB utility

If the target database does not have a .st file, the PRODB utility creates a new database from a specified source database. PRODB creates a new database using the structure of the source database and places all of the extents in the current working directory. You can use PRODB to make a copy of any of the demonstration or empty OpenEdge databases.
Note: When using PRODB to create a copy of a database, all the files of the database copy will reside in the same directory, unless a .st file already exists for the target database.
See PRODB utility for more information about PRODB.

Examples

The following examples illustrate how to create databases with PRODB:
*To create an empty database called mysample from a copy of the default empty database, enter the following:
prodb mysample empty
*To create a new database called mysports2000 from a copy of the sports2000 database, enter the following:
prodb mysports2000 sports2000
*To create a new database called pastinfo from a copy of an existing database named currentinfo, enter the following:
prodb pastinfo currentinfo
PRODB does not copy the external triggers associated with the database you are copying.