程序:
data a1; input x y@@; cards;
111 100 222 100 333 100 333 25 222 25 111 25
;
proc sort; by x; run;
proc print; run;
LOG窗口:
1 data a1; input x y@@; cards;
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.A1 has 6 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.23 seconds
cpu time 0.03 seconds
3 ;
4 proc sort; by x; run;
ERROR: Object creation failure.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SORT used (Total process time):
real time 0.20 seconds
cpu time 0.01 seconds
5 proc print; run;
NOTE: There were 6 observations read from the data set WORK.A1.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.12 seconds
cpu time 0.00 seconds
OUTPUT窗口:
The SAS System 19:24 Tuesday, November 4, 2003 1
Obs x y
1 111 100
2 222 100
3 333 100
4 333 25
5 222 25
6 111 25
[此贴子已经被作者于2007-11-4 20:22:16编辑过]