Page 16 - SAS_manual
P. 16

Program :














               Output:










               3.2 Reading Raw Data from Fixed Columns


               3.2.1 Column input style

               The simplest method for reading data in fixed columns is called column input. This method of input can

               read  character  data  and  standard  numeric  values.  You  write  your  INPUT  statement,  you  can  choose
               which variables to read and in what order to read them.

               Let’s take an example for brief description:
               You have a task to take one dataset and show this particular dataset in different input order

               (Follow program 3.5 and 3.6)
               cards;
               101tcs1mum
               102csc3dlh
               103hcl2chn
               104wip4blr
               105sat5hyd
               ;
               Program 3.5











                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  16
   11   12   13   14   15   16   17   18   19   20   21