SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Formatting Variable Values
Assigning Formats to Variables


Question: When output for this data set is displayed, which format is used to display the values for Date?
 

          data perm.tests;
             infile group1;
             input Name $10. @12 Date date7. 
                   @20 score3.;
             format date date7.;
          run;
          proc print data=perm.tests;
             format date mmddyy8.;
          run;
 
DATE7.
 
MMDDYY8.


  back||next

 

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

Terms of Use & Legal Information | Privacy Statement