Hi,

I have a matrix where various columns are dates (read in as numeric variables), and want to convert them to SAS dates.

As a test, I tried to convert a column vector, X, with dates (e.g., 20090329) in Proc IML (version 9.22) - (i) date=CHAR(X) and (ii) INPUT(date,yymmdd8.) - but an error results saying that the option "yymmdd8." is invalid.

Any help would be much appreciated! Thanks.