How to convert a numeric variable to a character variable?
You must create a differently-named variable using the PUT function.
The example below shows the use of the PUT function.
charvar=put(numvar, 7.) ;