Tutorial by Examples

For example, say below is the sample data in an Excel 'Test', Purchase_Date Customer_Name Price 05-05-2017 Adam 1075 06-05-2017 Noah 1093 07-05-2017 Peter 1072 08-05-2017 Louis 1101 09-05-2017 Zoe 1248 10-05-2017 Kevin 1045 11-05-2017 Messiah 1...
The example below uses the input statement to read a value from a source (in this case the string 123) into a both a character destination and a numeric destination. data test; source = '123'; numeric_destination = input(source, best.); character_destination = input(source, $3.); run; ...

Page 1 of 1