Reads month and year date values in the form mmmyy
or mmmyyyy
-
w
-
specifies the width of the input field.
The date values must be in the form mmmyy or mmmyyyy, where
-
mmm
-
is the first three letters of the month
name.
-
yy or yyyy
-
is a two- or four-digit integer that represents
the year.
A value read with the MONYYw.
informat results in a SAS date value that corresponds to the first day of
the specified month.
Note:
SAS interprets a two-digit year as belonging to
the 100-year span that is defined by the YEARCUTOF= system option.
input month_and_year monyy7.;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.