char3=input(char1, $4.); num4=input(char2, dollar10.2); char5=put(age, 4.);
the question is how to define 'informat' and 'format'' in these converts. According to the definition of 'informat' (tells SAS how to read the variables) all of these formats '$4., dollar 10.2 and 4.' are informats. Then how to understand 'format' in your words:
A FORMAT translates values to text.
To convert from numbers to text you must use a FORMAT.
To convert from text to text you can use either.
what are details/principles of 'input'/'put' in terms of 'format/informat'?
... View more