Most people who find themselves acquainted with programming SAS are aware of the colon operator ( =: ). There are a couple of different colon operators in SAS, however, on this post, I’m only talking about the comparison operator in SAS. The equal colon operator works very similarly to the substr() function. It is used […]Continue reading
PROC PRINT is a type of procedures that are used by every SAS programmer frequently. Most of you must be using it to just to display your data but you can also use it to generate pretty formatted outputs. Below are some of the things that you can do with PRINT that may make even […]Continue reading
What are automatic variables in SAS? Within a data step, SAS automatically create a couple of reserved variables. Automatic variables in SAS are created automatically by the DATA step or by DATA step statements. These variables are added to the program data vector however are usually not output to the data set is created. The […]Continue reading
Loops allow you to execute SAS statements repeatedly thereby reducing the number of code lines.
The flow in loops can be classified as entry controlled or exit controlled. If the programming compiler checks for all conditions associated with the beginning of the loops executions are validated and true, then it is called as Entry controlled loops.
Most SAS® programmers depend on the COMPRESS function in SAS for cleaning up troublesome string data. The third ‘modifier’ argument, added in Version 9, might not be as acquainted. If you’ve been programming in SAS® for any length of time, you’ve most likely used the COMPRESS function in SAS to clean up input data or […]Continue reading
SAS date and time are one of the important topics in SAS due to the fact that SAS date and time have unique characteristics. SAS dates are not numeric not character variable, when displayed it resembles character but it is stored as a number. SAS date begins from January 1, 1960, and has a value of 0. Prior to this date are negative numbers and those after this date are positive numbers. SAS Formats are used to display values in various formats. There is a number of different SAS date formats which you can apply and make the dates readable.Continue reading
SAS on-demand provides the facility to use SAS software for data management and analytical uses to business, professionals, individual learners and instructors for free.Continue reading