Max soon takes a magical ride to the North Pole and appears before SANTA in his courtroom, run by ELVES. Santa tells Max that in order to make the nice list, he must help RICK WILDER, a bitter man, find the spirit of Christmas. MAX is whisked off to the San Francisco Bay Area with Hercules.
Convert character to numeric. To convert character values to numeric values, use the INPUT function. new_variable = input(original_variable, informat.); The informat tells SAS how to interpret the data in the original character variable. For example, if you have a simple string of digits like 12345678, you can use the basic numeric informat w.d:
A numeric format name can be up to 32 characters in length. A character format name can be up to 31 characters in length. If you are creating a character format, then use a dollar sign ($) as the first character. Format names cannot end in a number.