Page 9 - SAS_manual
P. 9

Step 4 Go to result viewer window to see the result in tabular format



















               After writing all codes of SAS you can save that file with an extension name .SAS

               Finally, the DATA step ends with a RUN statement. You will see later that, depending on what platform
               you are running your SAS program, RUN statements are not always necessary.

               After run statement we have proc print statement which is used to print the values.


               Inline statement: used to specify physical path or location along with filename and its extension to SAS
               Syntax: Inline "path\filename.extention" options;
               A SAS program can also contain comments. This is helpful when you havea long program and you want
               to be able to remind yourself later about whatthe program does and how it does it. Comments can be
               placed anywhere ina SAS program provided they start with /* and end with */.  You can use (ctrl+/) for
               comment.

               For example,



















                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  9
   4   5   6   7   8   9   10   11   12   13   14