Page 1 of 1

copy all objects in a page to another workfile

Posted: Mon Jan 14, 2013 4:51 am
by jfgeli
Hi,

I need to create a subroutine that should copy all the series, groups, etc in one page in a given workfile into another workfile. I have tried something like:

cd "path....."
...
%source_workfile = "bla_bla"
%destination_workfile= "bla_bla_2"

copy(overwrite) {%source_workfile}::quarter_modi\* {%destination_workfile}::quarter_modi\

When I try I always get the following error:

"Database not found: bla_bla in "copy(overwrite) ..."

Both files bla_bla.wf1and bla_bla_2.wf1exist. The path is a network path. I am using eviews 7.2. I don't know how to tell Eviews that it should look for a workfile instead of a database". What am I doing wrong?

Thanks for the help,

Fede

Re: copy all objects in a page to another workfile

Posted: Mon Jan 14, 2013 7:11 am
by EViews Gareth
Are both workfiles open?

Re: copy all objects in a page to another workfile

Posted: Mon Jan 14, 2013 7:55 am
by jfgeli
Thanks for the tip. Only one of the files was open.

Best,

Fede