Page 24 - SAS_manual
P. 24

Output:












               Program 3.14:Using double trail

















               Output:









               Normally, when you use a double trailing (@@), the INPUT statement for the next iteration of the DATA

               step continues to read the same record. SAS releases the record that is held by a double trailing (@@).

               3.3  Line pointer controls:



               In this lesson, we'll focus on two special situations that you might encounter when trying to read an input
               raw data file into a SAS data set, namely:


                      When you need to read across several records in the input raw data file in order to create one
                       observation in a SAS data set.
                      When you need to read from just one record in the input raw data file in order to create multiple
                       observations in a SAS data set.




                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  24
   19   20   21   22   23   24   25   26   27   28   29