通过示例学SAS(3)--设置变量标签

对变量添加标签,示例代码如下

libname learn 'c:"books"learning';
data learn.test_scores;
    length ID $ 3 Name $ 15;
    input ID $ Score1-Score3;
    label ID = 'Student ID'
            Score1 = 'Math Score'
            Score2 = 'Science Score'
            Score3 = 'English Score';
datalines;
1 90 95 98
2 78 77 75
3 88 91 92
;

posted on 2008-08-22 16:15  zgw21cn  阅读(2287)  评论(0编辑  收藏  举报

导航