Example: Specify a Variable LabelIn this example, a SAS data set, NEW, is created with one variable C1. This variable is assigned a label of DEPTNUM. In the second DATA step, the MYDBLIB.MYDEPT table is created by using DEPTNUM as the DBMS column name. By setting DBLABEL=YES, the label can be used as the column name.
data new; label c1='deptnum'; c1=001;run;data mydblib.mydept(dblabel=yes); set new;run;proc print data=mydblib.mydept;run;
但是在SAS 里运行会报错;23 data mydblib.mydept(dblabel=yes); ------- 22ERROR 22-7: 选项名称“DBLABEL”无效。24 set new;25 run;NOTE: 由于出错,SAS 系统停止处理该步。NOTE: “DATA 语句”所用时间(总处理时间): 实际时间 0.02 秒 CPU 时间 0.01 秒不知为什何



雷达卡




京公网安备 11010802022788号







