Page 1 of 1

Database storing

Posted: Mon Feb 23, 2009 3:12 am
by javiersan
Hi,

I have a workfile with numeric series and alphanumeric series. I want to store to a specific database only the numeric series. How do I do this in a program command?

Alternatively, I can store all (numeric and alpha) series and then delete from the database all the alphanumeric ones, how would I do this?

Thanks,

Javier

Re: Database storing

Posted: Mon Feb 23, 2009 9:09 am
by EViews Gareth
Unfortunately there is currently not a way to select/group together series based on whether they are numerical or alpha series. Thus I'm not sure I can think of a good way to do what you want.


I suppose you could always put all the series in the workfile into one group, then go through the group one series at a time and performing a mathematical operation on that series. If EViews errors, then it is an alpha series, if it doesn't error it is a numerical series.

You can use @errorcount to keep track of whether a command has caused an error or not.