data work.accounting;
length jobcode $ 12;
set work.department;
run;
The WORK.DEPARTMENT SAS data set contains a character variable named JOBCODE with a length of 5.
Which of the following is the length of the variable JOBCODE in the output data set?
A. 5
B. 8
C. 12
D. The length can not be determined as the program fails to execute due to errors.
答案应该是C吧,变量长度应该由第一次出现时的长度决定,这样理解对吗?高人们出来指点一下吧。



雷达卡


京公网安备 11010802022788号







