Object Reference : Object View and Procedure Reference : Pool
  
 
store
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. EViews will first expand the list of series using the pool operator, and then perform the operation.
Syntax
pool_name.store(options) pool_ser1 [pool_ser2 pool_ser3 ...]
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 the wild card character “*” to match zero or more characters in the object name list. All objects with names matching the pattern will be stored. You may not use “?” as a wildcard character, since this conflicts with the pool identifier.
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.
Options
 
d=db_name
Store to the specified database.
i
Store to individual databank files.
1 / 2
Store series in [single / double] precision to save space.
o
Overwrite object in database (default is to merge data, where possible).
g=arg
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).
prompt
Force the dialog to appear from within a program.
If you do not specify the precision option (1 or 2), the global option setting will be used. See “Database Storage Defaults”.
Examples
pool1.store m1? gdp? unemp?
stores the three pool objects M1, GDP, UNEMP in the default database.
pool1.store(d=us1) m1? gdp? macro::unemp?
Cross-references
“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 Pool::fetch.