h***b 发帖数: 43 | 1 Sorry I can not input Chinese now.
I have some character variables, abc_1_ok,......,abc_50_ok. The numbers are
in the middle of the name, instead of at the end. When I run ARRAY, there
are two ERRORs shown as the following. I think the reason for the following
two errors is the variable name. If so, could any one of you tell me how to
deal with it? Thanks much!
ERROR: Alphabetic prefixes for enumerated variables {abc_1_ok - abc_50_ok}
are different.
ERROR: Too few variables defined for the dimension(s) specified for the
array. | s********e 发帖数: 272 | 2 you can use sas 'name range lists', {abc_1_ok -- abc_50_ok}, assuming your 1
to 50 are in the same sas internal order | h***b 发帖数: 43 | |
|