Command Reference : Command Reference
Store objects in databases and databank files.
Stores one or more objects in the current workfile in EViews databases or individual databank files on disk. The objects are stored under the name that appears in the workfile.
store(options) object_list
Follow the store command keyword with a list of object names (each separated by a space) that you wish to store. The default is to store the objects in the default database. (This behavior is a change from EViews 2 and earlier where the default was to store objects in individual databank files).
You may precede the object name with a database name and the double colon “::” to indicate a specific database. You can also specify the database name as an option in parentheses, in which case all objects without an explicit database name will be stored in the specified database.
You may use wild card characters “?” (to match any single character) or “*” (to match zero or more characters) in the object name list. All objects with names matching the pattern will be stored.
You can optionally choose to store the listed objects in individual databank files. To store in files other than the default path, you should include a path designation before the object name.
Store to the specified database.
Store to individual databank files.
1 / 2
Store series in [single / double] precision to save space.
Overwrite object in database (default is to merge data, where possible).
Group store from workfile to database: “s” (copy group definition and series as separate objects), “t” (copy group definition and series as one object), “d” (copy series only as separate objects), “l” (copy group definition only).
If you do not specify the precision option (1 or 2), the global option setting will be used. See “Database Storage Defaults”.
store m1 gdp unemp
stores the three objects M1, GDP, UNEMP in the default database.
store(d=us1) m1 gdp macro::unemp
stores M1 and GDP in the US1 database and UNEMP in the MACRO database.
store usdat::gdp macro::gdp
stores the same object GDP in two different databases USDAT and MACRO.
store(1) cons*
stores all objects with names starting with CONS in the default database. The “1” option uses single precision to save space.
store(i) m1 c:\data\unemp
stores M1 and UNEMP in individual databank files.
“Basic Data Handling” discusses exporting data in other file formats. See “EViews Databases” for a discussion of EViews databases and databank files.
For additional discussion of wildcards, see Appendix A. “Wildcards”.
See also fetch and copy.