Page 1 of 1

How to use Eviews sample files?

Posted: Mon Jul 22, 2013 5:58 am
by gbc
I am trying to learn how to program.

I am using the example files Eviews has.

I go to sample files and copy the equation folder to the Desktop. Then, I open testarma and below "* fill series" I erase what is there and put: read(sheet1,a1) book2.xlsx v. Book2 is an excel file which is in the same folder as testarma and sub_arma. It has x observations in the first column (which I call it v)

Then, I also substitute in "*call subroutine" gnp by v.

I run it, and I get an error saying that eviews cannot find Book2 in the directory C:\...\grad\Book2.xlxs, which is a folder within the sample files where I originally got the programs from... But I copied them to a new folder.

Why is eviews looking for Book2 in that folder if I am working from another folder in my Desktop???

Re: How to use Eviews sample files?

Posted: Mon Jul 22, 2013 8:04 am
by EViews Gareth
The READ command cannot see .xlsx files. READ should not be used, ever. Use WFOPEN or IMPORT instead.