Command Reference : Command Reference
Create a new database.
dbcreate(options) [path\]db_name [as shorthand_name]
Follow the dbcreate keyword by a name for the new database. You may include a path name to create a database not in the default directory. The new database will become the default database.
You may use the “as” keyword to provide an optional shorthand_name or a short text label which may be used to refer to the open database in commands and programs. If you leave this field blank, a default shorthand_name will be assigned automatically. See “Database Shorthands” for additional discussion.
type=arg, t=arg
Specify the database type: (see table below). The default is to create an EViews 7 database.
The following table summaries the various database formats, along with the corresponding “type=” keywords:
Option Keywords
Aremos-TSD x
“a”, “aremos”, “tsd”
DRIBase x
“b” “dribase”
DRIPro Link x
“e”, “evdb”
EViews 6 compatible
“f”, “fame”
“g”, “give”
RATS 4.x
“r”, “rats”
RATS Portable / TROLL
“l”, “trl”
TSP Portable
“t”, “tsp”
You must have EViews Enterprise Edition to create DRIBase and FAME databases.
The following options may be required when connecting to a remote server:
s=server_id, server=server_id
Server name
u=user, username=user
p=pwd, password=pwd
dbcreate macrodat
creates a new database named MACRODAT in the default path, and makes it the default database from which to store and fetch objects. This command will issue an error message if a database named MACRODAT already exists. To open an existing database, use dbopen or db.
See “EViews Databases” for a discussion of EViews databases.
See also dbopen or db.