Copy issues

For questions regarding programming in the EViews programming language.

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

trainee
Posts: 38
Joined: Fri Jun 13, 2014 12:59 pm

Copy issues

Postby trainee » Wed Sep 07, 2016 2:13 pm

"more than one source value with contraction disallowed" error pops up when I try to copy a bunch of variables from a quarterly sheet to an annual sheet using the "copy" function?

Really? Anyone know what's going on?

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

Re: Copy issues

Postby EViews Gareth » Wed Sep 07, 2016 2:32 pm

Hard to say without seeing it.

trainee
Posts: 38
Joined: Fri Jun 13, 2014 12:59 pm

Re: Copy issues

Postby trainee » Thu Sep 08, 2016 6:58 am

Hi Gareth, thanks for your response. Here is the code I'm running:

wfopen %GMFM

pageselect Quarterly

copy can_* slm_sourcedata_26th_actuarial::Annual\can_*

Appreciate your help!

trainee
Posts: 38
Joined: Fri Jun 13, 2014 12:59 pm

Re: Copy issues

Postby trainee » Thu Sep 08, 2016 2:15 pm

I figured out what the problem was. I needed to assign the conversion standard. I changed copy to copy(c=a) and it was fine. Thanks anyway!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests