SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

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


DATA Step Processing of Records That Have a Varying Number of Fields

Now let's take a look at how the DATA step that we've been working with is processed.

     data perm.health;
        infile bpdata length=reclen;
        input ID 4. @;
        do index=6 to reclen by 15;
           input Date : date. BP $ @;
           output;
        end;
     run;

Select buttons below to view a series of graphics that depict DATA step processing of records that have a varying number of fields.




back||next


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

Terms of Use & Legal Information | Privacy Statement