SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Creating Multiple Observations from a Single Record
Reading the Same Number of Repeating Fields


Question: Write the statement that closes the iterative DO loop.

     data perm.sales97;
        infile data97;
        input ID $4. @;  
        do Quarter=1 to 4;  
           input Sales : comma. @;
           output; 
        

           

  back||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement