SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading Raw Data in Fixed Fields
Record Formats


Question:


Look carefully at the raw data file below, which has a variable-length record format. If you use formatted input to read the values, do you also need to use the PAD option in the INFILE statement?  
 
1---+----10---+----20---+--
ENVELOPE   $13.25  500   4 
DISKETTES  $29.50   10   3 
BANDS       $2.50  600   2 
RIBBON     $94.20   12   1 
PAPER      $15.95  250  10 
  Yes
  No


  back||next

 

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

Terms of Use & Legal Information | Privacy Statement