SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Reading Raw Data in Fixed Fields
Using Formatted Input


Question:


Complete the INPUT statement below by using the correct column pointer to read the values for UnitCost (in the 2nd field) after the values for Quantity (in the 3rd field).

1---+----10---+----20-
COMPAPER   $13.25  500

input Item $9. +10 Quantity 3.  UnitCost $6.;

           

  back||next

 

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

Terms of Use & Legal Information | Privacy Statement