一眼瞬间 发表?2013-10-15 03:48 
手工改了下那个Error column,是不是比较可行些?
实际数据中如果error column比较多的话,貌似手工改动 ...
The SAS name convention is like this:
The first character must be an English letter (A, B, C, . . ., Z) or underscore (_).
Subsequent characters can be letters, numeric digits (0, 1, . . ., 9), or underscores.
http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm
Your data does not have valid variable names according to the above sas rules:
But save csv to xls file then using proc import and the code at upper floor should work.
Note: the variable CODE is a type of num shown in the picture, so the do-loop should start from 2.
You also need to type the exact variable names for p, p1, p2 ...