Eviews 14 Link Command Issue

For questions regarding programming in the EViews programming language.

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

oleviasharbaugh
Posts: 18
Joined: Thu Aug 24, 2023 9:42 am

Eviews 14 Link Command Issue

Postby oleviasharbaugh » Tue May 26, 2026 10:57 am

I am having an EViews issue that I think relates to the fact that we recently updated from EViews 12 to EViews 14.

When I run this code in EViews 14:

Code: Select all

for %y {%states} link amuse_area_{%y}_nsa amuse_area_{%y}_nsa.linkto(c=s) area\amuse_area_{%y}_nsa_1 next
I get this error:
AMUSE_AREA_AK_NSA already exists and may not be modified
in "LINK AMUSE_AREA_AK_NSA" in AMUSESOLVE.PRG on line
125.

But this is the way we always ran this program in Eviews 12 and we never had an issue. I have looked this up online and the only way I've come across to fix it is to delete the series before linking. Is that truly the best way to do this?

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

Re: Eviews 14 Link Command Issue

Postby EViews Gareth » Tue May 26, 2026 12:00 pm

Yes, you cannot redeclare the link if it already exists. We'll take a look to see if we can improve that behaviour.

In the meantime, yes, you'd have to delete it first.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests