I am writing a program that reads csv files into eviews, but I have 2 problems that I've encountered.
1. I tried to generalized file name and variable names, so say I use %file_name and %var_name as this read command is within several for loops. The %file_name part works but %var_name does not. Eviews claims that it's a "illegal or reserved name".
This is the command I use for inserting a specific variable (with header in the csv's) into a wf:
2. If I change the command to read in multiple variables within a csv, Eviews is not cooperating with a scalar variable in the place of a number in the statementread(c2, t=csv, name, d=c) %file_name %variable_name
Besides, putting "C2" as the starting point of the dataset doesn't seem to eliminate the columns that I don't want. In this case, I don't want it to read the first 2 columsn and start with C2. Does this thing only work if the incoming file is a xls? If that's the case, is there a workaround?read(c2, t=csv, name, d=c) %file_name !columns
Thanks guys!
Tchaithonov
