Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Eviews5 / EViews5 / Docs / EViews 5 Command Ref.pdf
Скачиваний:
47
Добавлен:
23.03.2015
Размер:
5.23 Mб
Скачать

392—Appendix B. Command Reference

pagedelete Command

Delete the named page from the default workfile.

Syntax

Command:

pagedelete pgname

where pgname is the name of a page in the default workfile.

Examples

pagedelete page1

Cross-references

See also pagecreate (p. 388).

pageload Command

Load one or more new pages in the default workfile.

Syntax

Command: pageload [path\]workfile_name

Command: pageload(options) source_description [@keep keep_list] [@drop drop_list] [@keepmap keepmap_list] [@dropmap dropmap_list] [@selectif condition]

Command: pageload(options)source_description table_description [@keep keep_list] [@drop drop_list] [@keepmap keepmap_list] [@dropmap dropmap_list] [@selectif condition]

The basic syntax for pageload follows that of wfopen (p. 532). The difference between the two commands is that pageload creates a new page in the default workfile, rather than opening or creating a new workfile. If a page is loaded with a name that matches an existing page, EViews will rename the new page to the next available name (e.g., “INDIVID” will be renamed “INDIVID1”.

pagerename—393

Options

type=arg / t=arg Optional type specification: Access database file (“access”), Aremos–TSD file (“a”, “aremos”, “tsd”), Binary file (“binary”), Excel file (“excel”), Gauss dataset file (“gauss”),GiveWin/PcGive file (“g”, “give”), HTML file/page (“html”), ODBC database (“odbc”), ODBC Dsn file (“dsn”), ODBC query file (“msquery”), MicroTSP workfile (“dos” “microtsp”), MicroTSP Macintosh workfile (“mac”), Rats file (“r”, “rats”), Rats portable/Troll file (“l”, “trl”), SAS program file (“sasprog”), SAS transport file (“sasxport”), SPSS file (“spss”), SPSS portable file (“spssport”), Stata file (“stata”), Text file (“text”), TSP portable file (“t”, “tsp”).

Examples

pageload "c:\my documents\data\panel1"

loads the workfile PANEL1.WF1 from the specified directory. All of the pages in the workfile will be loaded as new pages into the current workfile.

pageload f.wf1

loads all of the pages in the workfile F.WF1 located in the default directory.

See the extensive set of examples in wfopen (p. 532).

Cross-references

See “Creating a Page by Loading a Workfile or Data Source” on page 67 of the User’s Guide for discussion.

See also wfopen (p. 532) and pagecreate (p. 388).

pagerename Command

Load the specified workfile as one or more new pages in the default workfile.

Syntax

Command: pagerename old_name new_name

394—Appendix B. Command Reference

renames the old_name page in the default workfile to new_name. Page names are caseinsensitive for purposes of comparison, even though they are displayed using the input case.

Examples

pagerename Page1 StateByYear

Cross-references

See also pagecreate (p. 388).

pagesave Command

Save the active page in the default workfile as an EViews workfile (.wf1 file) or as a foreign data source.

Syntax

Command: pagesave(options) [path\]filename

Command: pagesave(options) source_description [@keep keep_list] [@drop drop_list] [@keepmap keepmap_list] [@dropmap dropmap_list] [@smpl smpl_spec]

Command: pagesave(options) source_description table_description [@keep keep_list] [@drop drop_list] [@keepmap keepmap_list] [@dropmap dropmap_list] [@smpl smpl_spec]

The command saves the active page in the specified directory using filename. By default, the page is saved as an EViews workfile, but options may be used to save all or part of the page in a foreign file or data source. See wfopen (p. 532) for details on the syntax of source_descriptions and table_descriptions.

pageselect—395

Options

type=arg, t=arg

Optional type specification. Access database file

 

(“access”), Aremos–TSD file (“a”, “aremos”, “tsd”),

 

Binary file (“binary”), EViews database file (“e”,

 

“evdb”), Excel file (“excel”), Gauss dataset file

 

(“gauss”), GiveWin/PcGive file (“g”, “give”), HTML

 

file/page (“html”), ODBC database (“odbc”), ODBC

 

Dsn file (“dsn”), ODBC query file (“msquery”),

 

MicroTSP workfile (“dos”, “microtsp”), MicroTSP Mac-

 

intosh workfile (“mac”), Rats file (“r”, “rats”), Rats

 

portable/Troll file (“l”, “trl”), SAS transport file (“sasx-

 

port”), SPSS file (“spss”), SPSS portable file (“spss-

 

port”), Stata file (“stata”), Text file (“text”), TSP

 

portable file (“t”, “tsp”).

 

 

mode=create

Create new file only; error on attempt to overwrite.

 

 

maptype=arg

Write selected maps as: numeric (“n”), character (“c”),

 

both numeric and character (“b”).

 

 

mapval

Write mapped values for series with attached value

 

labels.

Examples

pagesave new_wf

saves the EViews workfile NEW_WF.WF1 in the default directory.

pagesave "c:\documents and settings\my data\consump"

saves the workfile CONSUMP.WF1 in the specified path.

Cross-references

See also wfopen (p. 532) and wfsave (p. 540).

pageselect Command

Make the specified page in the default workfile the active page.

Syntax

Command:

pageselect pgname

where pgname is the name of a page in the default workfile.

Соседние файлы в папке Docs