97 data sales ;
98 input product $12. sale tax ;
101 datalines ;
NOTE: The data set WORK.SALES has 4 observations and 4 variables.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.01 seconds
107 run ;
The syntax of the sum statement (NOT the sum function) is variable+expression. In this situation, the variable is Total and the expression is Var1+Var2.
Using sample data, the following output is created:
The one and only FREE resource for general SAS online training as well as study guides for the SAS Base Certification. My goal is to create the SAS Certification prep guide that I never found but always wanted. This should also be a place to come if you are new to the language but are simply looking for online SAS training.