Pagesave for SAS transport problem
Posted: Tue Apr 21, 2015 11:05 am
Greetings,
I'm trying to write a program to transfer some series in our model from EViews into a SAS compatible format using the pagesave command. The line of code I am using is as follows:
PAGESAVE(type=sasxport, mode=update) test.xpt @keep G_US{%model}_DATA @smpl 1980:1 %END_FCST
When I run my program, the .xpt file is generated, but the program bugs up on the command. I re-ran the program with logmode all running and got the following notification:
PAGESAVE(type=sasxport, mode=update) test.xpt @keep G_US2015a_DATA @smpl 1980:1 " 2025:4"
Analyzing dataset: obtaining table count
Opening table...
'bopcrntac' is not a legal column name in SAS Transport (XPORT) file datasets in "PAGESAVE(TYPE=SASXPORT, MODE=UPDATE) TEST.XPT ...
I've not generated a SAS transport file with EViews before and am trying to figure out what the error here is resulting from. I'm leaning in one of two directions. One is the length of the variable name: I think the length of a series for SAS is allowed to be 32 characters long, but that might differ depending on the version. The other is that somehow the quotation marks around the series shown in the logmode are also being put into the file, which is why the command is getting flagged.
All of the series in the group I am dealing with are less than 32 characters long and only consist of English letters, numerals, and underscores, so I can't pin down what's going wrong here. Any ideas? I'm running EViews 8.1 (I can troubleshoot on 9, but I'm waiting until 9.1 to rely on submitting content).
Thanks,
Gordon
I'm trying to write a program to transfer some series in our model from EViews into a SAS compatible format using the pagesave command. The line of code I am using is as follows:
PAGESAVE(type=sasxport, mode=update) test.xpt @keep G_US{%model}_DATA @smpl 1980:1 %END_FCST
When I run my program, the .xpt file is generated, but the program bugs up on the command. I re-ran the program with logmode all running and got the following notification:
PAGESAVE(type=sasxport, mode=update) test.xpt @keep G_US2015a_DATA @smpl 1980:1 " 2025:4"
Analyzing dataset: obtaining table count
Opening table...
'bopcrntac' is not a legal column name in SAS Transport (XPORT) file datasets in "PAGESAVE(TYPE=SASXPORT, MODE=UPDATE) TEST.XPT ...
I've not generated a SAS transport file with EViews before and am trying to figure out what the error here is resulting from. I'm leaning in one of two directions. One is the length of the variable name: I think the length of a series for SAS is allowed to be 32 characters long, but that might differ depending on the version. The other is that somehow the quotation marks around the series shown in the logmode are also being put into the file, which is why the command is getting flagged.
All of the series in the group I am dealing with are less than 32 characters long and only consist of English letters, numerals, and underscores, so I can't pin down what's going wrong here. Any ideas? I'm running EViews 8.1 (I can troubleshoot on 9, but I'm waiting until 9.1 to rely on submitting content).
Thanks,
Gordon