Hello World!

It should come as no surprise that SAS can be used in many different ways. I like to use SAS for data manipulation and statistical analysis. That is why I like the data step, the IML language along with a variety of statistical procedures. Therefore I use the data step and the IML procedure to say Hello World in the two most important places to retrieve information in SAS, namely the log and the Results Viewer.

First, I use a PUT statement in a data step to write the message in the log

data _null_;
   string = 'Hello World';
   put string;

Then I use the IML language to print it in the Results Viewer.

proc iml;
   string = 'Hello World';
   print string;

Welcome to my website where I will blog weekly on various topics in SAS programming, primarily in the fields of statistics/analytics and data manipulation. Browse the site to find Learning Material, Statistics Examples, Probability Distribution Examples, Data Manipulation Examples and much more.  You are at any time welcome to contact me through the Contact Form at the top menu or at SASnrd@SASnrd.com or though my page at Communities.SAS.com.

You can see the entire program here