Page 27 - SAS_manual
P. 27

We  are  taking  one  raw  data  and  use  multiple  input  statements  for  showing  the  data  by  using  single
               trailing modifier and without single trailing modifier.


               Program 3.17:


               Using@without  single trailing modifier




























                                                 Output:




               3.4 USE OF MISSOVER AND TRUNCOVER


                     MISSOVER:



               Tells  SAS  don’t  go  to  the  next  line  for  read  the  data  values  for  the  variable  for  same  line,  if  the  data
               values are not available for the left over variable assign the missing value to them.


               Use the MISSOVER option in the INFILE statement to set the remaining INPUT statement variables to
               missing values if the pointer reaches the end of a record.

               Program 3.18:





                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  27
   22   23   24   25   26   27   28   29   30   31   32