![]() Each row of input data is written on a separate line (without a semicolon at the end). The data you want to enter follows directly after the DATALINES statement. If you don’t provide anything, SAS assumes this input variable is numeric. A dollar-sign after a variable name indicates that this variable is a character variable. With the INPUT statement, we define the names and the types of the input variables. The dataset above consists of one character variable ( employee) and one numeric variable ( salary). If you don’t specify the library, then the dataset will be saved by default in the WORK library. We use the DATA statement to define the name of the dataset ( employees) and the library where it’s stored ( work).
0 Comments
Leave a Reply. |