G7 Commands: WΒΆ

(wri)ndex <y | n>
G7 normally writes the entire index file of the workspace as each variable is added. When many series are added, this feature lengthens processing time. To defer writing the index until the entire add file is processed, “wri n” turns off writing and “wri y” turns it on again and writes the index. A “q” with writing off will cause the index to be written before quitting, so there is no danger of losing everything by forgetting “wri y”.
Related Topics: Tips and Tricks, Workspace Banks, wsbank
(wsb)ank <bank_name>
This command makes the named bank the workspace bank. Make sure that you have a backup of the bank that you assign as a workspace, since it will be modified if you create any data series during the current G7 session. In addition, a “zap” command will destroy the bank.

In traditional G7 usage, the workspace bank is called WS.BNK, and is in the current directory. However, by editing the first two lines of the G.CFG file you can change the default location and name of the workspace bank to be any bank you like.

Related Topics: The G.CFG File, Workspace Bank, bank, wrindex, wsinfo, zap

(wsi)info
This command prints information to the screen about the current workspace bank, including its bank title (if any), the number of series in the bank, the maximum number of bservations per series, and the default starting year (base year) and period.
Related Topics: bank, wsbank, zap
wsreset [<path>]
wsreset [<path>\g.cfg]
This command allows the workspace to be cleared and a new workspace established with new parameters and possibly in a new location. If “g.cfg” is included in the path, then G7 automatically will attempt to open and read the file; otherwise, the configuration window will prompt the user to find and/or accept the settings in the optionally-specified directory.

Previous topic

G7 Commands: V

Next topic

G7 Commands: X

This Page