Instead of describing error message you would be better off to copy from the log the entire data step and all the messages and then paste them into a code box opened using the forum's {I} or "running man" icon. The code box is important to retain formatting as many error messages, including the invalid data type, include diagnostics that the message windows here will reformat.
Then we won't have to ask a whole bunch of leading questions about stuff that should be obvious from your code.
... View more