When you use a
numeric variable as an ID variable, PROC TRANSPOSE changes the formatted
ID value into a valid SAS name.
SAS variable names
cannot begin with a number. When the first character of the formatted
value is numeric, the procedure prefixes an underscore to the value,
this action truncates the last character of a 32-character value.
Remaining invalid characters are replaced by underscores. The procedure
truncates to 32 characters any ID value that is longer than 32 characters
when the procedure uses that value to name a transposed variable.
If the formatted value
looks like a numeric constant, then PROC TRANSPOSE changes the characters
+, −, and . to P, N, and D, respectively. If the formatted
value has characters that are not numeric, then PROC TRANSPOSE changes
the characters +, −, and . to underscores.
Note: If the value of the VALIDVARNAME
system option is V6, then PROC TRANSPOSE truncates transposed variable
names to 8 characters.