SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

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


Question: Write an iterative DO statement that creates an index variable named index, whose value ranges from 6 to the value of reclen and is incremented by 15.
     data perm.health;
        infile bpdata length=reclen;
        input ID 4. @;
         

           

  back||next

 

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

Terms of Use & Legal Information | Privacy Statement