sort1.sas

来自「SAS for Windows统计分析系统教程,里面有源码」· SAS 代码 · 共 20 行

SAS
20
字号
options nodate nonumber;
title 'Sort of data';
filename sort1 'd:\sasbook\hong1.dbf';
proc dbf db3=sort1;
title2 '1. Sort, x6---Ascending';
proc sort;
by x6;
proc print;
run;
title2 '2. Sort, x5---Descending,x6---Ascending';
proc sort;
by descending x5 x6;
proc print;
run;
title2 '3. Sort, x5,x6---Descending';
proc sort;
by descending x5 descending x6;
proc print;
run;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?