Skip to content
Advertisement

How to union 2 columns with different data type in SAS?

How to union 2 columns with different data type in SAS?

Advertisement

Answer

SAS uses formats to control the display of values as text. It uses informats to control the conversion of text into values. You can use the PUT(), or PUTC or PUTN, function to convert values (either numbers or string) into strings. You can use the INPUT(), or INPUTC or INPUTN, function to convert strings into values (either numbers or strings).

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement