经过解析之后,d=length(&idcode); 就是d=length(Prod567);, 然后Prod567就变成了一个uninitialized variable
根据SAS HELP里面的说明: If string is a numeric variable (either initialized or uninitialized), LENGTH returns a value of 12 and prints a note in the SAS log that the numeric values have been converted to character values.