copying alpha series from one workfile to the other

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

lenka
Posts: 10
Joined: Wed Jun 05, 2013 8:29 am

copying alpha series from one workfile to the other

Postby lenka » Thu Jun 27, 2013 3:27 am

Hi,
another copying/merging issue. There must be again something simple I am missing.
I am copying one numerical and one alpha series from one workbook to the other. For the numerical one there is no problem, the alpha series gets copied but it's empty in a new workfile.
copy WF1::ALLFORECASTS\f_diesel WF2::midterm\
copy WF1::ALLFORECASTS\cntrygroup WF2::midterm\
Attaching both workfiles
Attachments
wf2.wf1
(65.3 KiB) Downloaded 324 times
wf1.wf1
(304.35 KiB) Downloaded 302 times

EViews Chris
EViews Developer
Posts: 161
Joined: Wed Sep 17, 2008 10:39 am

Re: copying alpha series from one workfile to the other

Postby EViews Chris » Thu Jun 27, 2013 2:32 pm

You're right. There seems to be a weird inconsitency when copying alpha series between panel workfiles using the command line.

The behviour doesn't match up with that of numerical series, nor with the behaviour you get when you interactively drag and drop an alpha series between the two workfiles.

We'll fix it in the next patch so they are consistent. For now, you should be able to get what you want by explicitly including the id series in the command.

copy WF1::ALLFORECASTS\cntrygroup WF2::midterm\ @src @date country_iq_code @dest @date country_iq_code

lenka
Posts: 10
Joined: Wed Jun 05, 2013 8:29 am

Re: copying alpha series from one workfile to the other

Postby lenka » Tue Jul 02, 2013 3:00 am

Thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest