Page 1 of 1
error when seasonally adjusting multiple series
Posted: Fri Mar 08, 2019 8:47 am
by pcruzd
Hello,
I am having trouble when seasonally adjusting (x13) multiple series. I am getting an error that appear only certain times and I have to run the exactly same code 5 to 6 times until the error magically doesn't appear. The error that I am getting is: 'Unable to open file c:\users\username\appdata\ev_temp\evx13tmp.spc in "SER{!X}.X13("SAVE="D11 D10")". Please help
PS. I'm using Eviews 9.5
Re: error when seasonally adjusting multiple series
Posted: Fri Mar 08, 2019 9:02 am
by EViews Gareth
That error indicates that something went wrong inside the X-13 executable. Unfortunately we don't have any control over what goes on inside it, so there isn't much we can say.
Re: error when seasonally adjusting multiple series
Posted: Thu Mar 21, 2019 7:03 am
by pcruzd
Thanks Gareth,
So far I've been able to manage it using setmaxerror and @errorcount, but Im having a problem when additional errors appear (like no seasonallity in the series). So I would like to know if there's any way to know what type of error im getting while running the program. For instance, to generate a lable with the text that appears in the log file when an error occurs.
Actually, my code is
Code: Select all
!err = 0
for !x = 1 to 50
SER{!X}.X13("SAVE="D11 D10")
!newerr = !err + @errorcount
if !newerr>!err then
!err = !newerr
!count = 0
!maxcount = 20
while !count <= !maxcount
SER{!X}.X13("SAVE="D11 D10")
!newerr = !err + @errorcount
if !newerr=!err then
exitloop
endif
!count = !count+1
wend
endif
next
Re: error when seasonally adjusting multiple series
Posted: Thu Mar 21, 2019 7:29 am
by pcruzd
I just realized I posted an old code with errors, here is the actual one:
Code: Select all
for !x = 1 to 50
!err = @errorcount
SER{!X}.X13("SAVE="D11 D10")
!check= @errorcount-!err
if !check>0 then
!count = 0
!maxcount = 20
while !count <= !maxcount
!err = @errorcount
SER{!X}.X13("SAVE="D11 D10")
!check= @errorcount-!err
if !check=0 then
exitloop
endif
!count = !count+1
wend
endif
next