SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading Variable-Length Records
Reading Records with a Varying Number of Fields


Question: Add an OUTPUT statement that immediately writes the current observation to the data set Perm.Health.
     data perm.health;
        infile bpdata length=reclen;
        input ID 4. @;
        do index=6 to reclen by 15;
           input Date : date. BP $ @;
           

           

  back||next

 

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

Terms of Use & Legal Information | Privacy Statement