SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Creating a Single Observation from Multiple Records
Reading Multiple Records in Any Order
 


Question:
Use the #n line pointer control to position the input pointer on the second record and read the values for Address. (HINT: Do not close the INPUT statement.)

1---+----10---+----20---
ALEX BEDWAN 
609 WILTON MEADOW DRIVE 
GARNER NC 27529 
XM034 FLOYD 

     data perm.patients;
        infile patdata;
        input #4 ID $5.
              #1 Fname $ Lname $
              

           

  back||next

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

Terms of Use & Legal Information | Privacy Statement