Creating a Data Set
You can create a data set using a set of code called DATA Step.
Data Test; a = 1;Run;
DATA Step is fairly simple. It starts with the syntax 'Data' and ends with 'Run'. Each line in SAS ends with a semi-colon. You can create contents for the data set within the DATA Step.
Now, run the Data Step from the example above.
This should create a data set called TEST that can be found from the WORK library.
A variable called a is also created in the TEST data set containing a single value of 1.
Create a data set that contains the following 3 variables:
Var1 = 123Var2 = 356Var3 = 923
Name the data set as Number.
Need some help?
SOLUTION:Data Number;Var1 = 123;Var2 = 356;Var3 = 923;Run;
Username or Email Address
Registration confirmation will be emailed to you.