Copy equations from closed wf is not working
Posted: Mon Mar 27, 2017 2:39 am
Hi,
I am using EViews 9.5 Enterprise Edition _ Jun 28 2016 build.
Copying equations with a wildcard pattern from a closed workfile lead to the following error :
"Database Error: cannot read object 'EQ_1' due to unrecognized or unsupported object type"
Here is code to reproduce the error :
Opening the workfile and then close it, is working, ie :
Louis
I am using EViews 9.5 Enterprise Edition _ Jun 28 2016 build.
Copying equations with a wildcard pattern from a closed workfile lead to the following error :
"Database Error: cannot read object 'EQ_1' due to unrecognized or unsupported object type"
Here is code to reproduce the error :
Code: Select all
%dir = "C:\dir\"
cd %dir
wfcreate(wf=src,page=Q) Q 1990 2010
series s1 = nrnd
equation eq_1.ls s1 c
wfsave src
wfclose src
%src = %dir + "\src.wf1"
wfcreate(wf=dest,page=Q) Q 1990 2010
copy {%src}::Q\eq_* Q\
Opening the workfile and then close it, is working, ie :
Code: Select all
%dir = "C:\dir\"
cd %dir
wfcreate(wf=src,page=Q) Q 1990 2010
series s1 = nrnd
equation eq_1.ls s1 c
wfsave src
wfclose src
%src = %dir + "\src.wf1"
wfopen %src
wfcreate(wf=dest,page=Q) Q 1990 2010
copy {%src}::Q\eq_* Q\
Louis