Error messages from programs with loops
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Error messages from programs with loops
I am using a loop to decompose multiple time series (using X13.SEATS) with permissible errors set to 1000 so it runs through all the series. For almost all the error messages I get in the program log the series are identified as SER{!I} is it possible to capture the actual series number(s)?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Error messages from programs with loops
Hard to say without knowing exactly what you are doing
Re: Error messages from programs with loops
Would sending you the program and an example of the program log help?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Error messages from programs with loops
Hope so,the code and the program log are attached as is the final error message. The specs referenced in the program are at the end of the error message.
- Attachments
-
- log_anzsic tramoseats program_lr_short.txt
- (2.12 KiB) Downloaded 247 times
-
- anzsic tramoseats program_lr_short.prg
- (2 KiB) Downloaded 264 times
-
- Error_short.docx
- (17.15 KiB) Downloaded 265 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Error messages from programs with loops
I can see no reason why EViews isn't reporting the series name, rather than ser{!i}, which is weird.
But I guess you could force it by recording it yourself. Off the top of my head, I think I would do something like:
And put a logmode +logmsg somewhere at the top.
But I guess you could force it by recording it yourself. Off the top of my head, I think I would do something like:
Code: Select all
!errcount = @errorcount
'the x13 line here
!errcount2 = @errorcount
if !errcount2>!errcount then
logmsg !i
endif
Re: Error messages from programs with loops
Thanks Gareth, your suggestion worked - I now know which series are failing and why/how. All the best, Linda
Who is online
Users browsing this forum: No registered users and 2 guests
