***********************************************************; * Research Computing Services *; * Introduction to SAS *; ***********************************************************; ***********************************************************; * Input Data Directly *; * *; * Use cards or datalines after the input statement; *; * *; * Input statement contains the column names *; * For numeric columns, specify a name *; * For the columns containing character data, add $ after *; * the name of the column *; * Use spaces to separate the data *; * Do not forget semicolon on the next line *; * after the last data entry *; * *; * After the data statement is executed, navigate to the *; * Work library in the Explorer window and check the data *; * *; ***********************************************************; data mydata; input id name $; datalines; 1 Alex 2 Bob 3 Clara ;