copy all series

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

tvonbrasch
Posts: 370
Joined: Fri Apr 15, 2011 5:35 am

copy all series

Postby tvonbrasch » Sun Apr 29, 2018 6:19 am

Hi

Is there a way to copy all series from one page to another with one command line, for example

Code: Select all

copy(series) * ka\*

instead of using the commands:

Code: Select all

   %allseries=@wflookup("*","series")
   for %s {%allseries}
      copy {%s} ka\{%s}
   next


Thomas

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11874
Joined: Tue Sep 16, 2008 5:38 pm

Re: copy all series

Postby EViews Gareth » Sun Apr 29, 2018 6:36 am

You could try pagecopy with the dataonly option
Follow us on Twitter @IHSEViews

tvonbrasch
Posts: 370
Joined: Fri Apr 15, 2011 5:35 am

Re: copy all series

Postby tvonbrasch » Sun Apr 29, 2018 7:54 am

excellent, good idea. but can this command be used with an "overwrite" option so that if the page annual already exists, the code

Code: Select all

pagecopy(page=annual, overwrite, dataonly) *


will overwrite the page annual, and not create a new page called annual1.
?
Thomas

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11874
Joined: Tue Sep 16, 2008 5:38 pm

Re: copy all series

Postby EViews Gareth » Sun Apr 29, 2018 8:05 am

No :/
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 28 guests