程序及错误如下:
650 proc sql;
651 create table data5 as
652 select stkcd, type,cfo,ind,ind1, ind2,ind3 ,ind4, ind5,ind6, ind7,
652! ind8,ind9, ind10,ind11, ind12, ind13,ind14, ind15,ind16,ind17, ind18, ind19, dac, share, age, direc ,growth
653! ,leverage, lasset,
654 mean(cfo) as avecfo,
NOTE: SCL source line.
655 from data4
-----
22
76
ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &, (, *, **, +,
',', -, '.', /, <, <=, <>, =, >, >=, ?, AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT,
FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE, LEN, LENGTH, LET, LIKE, LT,
LTT, NE, NET, NOT, NOTIN, OR, ^, ^=, |, ||, ~, ~=.
ERROR 76-322: Syntax error, statement will be ignored.
656 group by ind;
657 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used:
real time 0.01 seconds
cpu time 0.01 seconds