SAS documentation defines the input and put functions as:
Input function: Returns the value that is produced when SAS converts an expression using the specified informat
Put function: Returns a value using a specified format.
So the input function takes the variable and an informat as arguments, while the put functions takes the variable and a format as arguments, right?
If that is the case, why is the input function used to convert a variable from character to numeric, while the put function is used to convert a variable from numeric to character?
Are the input and put functions more tied to informats and formats, respectively, as opposed to character to numeric and numeric to character conversions, respectively?
Also, what is the difference between the input and put functions and the input and put statements?