45.The following SAS program is submitted:
odscsvall file='c:\test.cvs';
procprint data=WORK.ONE;
varName Score Grade;
byIdNumber;
run;
odscsvall close;
What is produced as output?
A. A filenamed test.cvs that can only be opened in Excel.
B. A text filenamed test.cvs that can be opened in Excel or in any text editor.
C. Atext file named test.cvs that can only be opened in a text editor.
D. A filenamed test.cvs that can only be opened by SAS.
Answer: C
so why?
attention:ods csvall file='c:\test.cvs';
cvs
cvs
cvs
明白了么,不是csv而是cvs....试一试就知道答案选C了。
今日考试的时候,真实试题是csv,请大家注意下。