|
> From: Dianne Rhodes
> We have odd dates with 2 digit years. Sometimes they are in
> the form of '0702' which I use YYMMn4. to convert to 200702
> using YYMMn6.
> sometimes they are '0376' which should convert to 197603 using MMYYn4.
> But SAS complains that there is no such informat. It's
> documented in the SAS on-line doc, in Rick Aster's book, and
> in Derek Morgan's book. What gives? SAS 9.1.3 Service pack
> 4 on windows.
>
> MMYY4 = put(input(Index_base_date,MMYYN4.),MMYYN4.);
> -------
> 48 ERROR
> 48-59: The informat MMYYN was not found or could not be loaded.
end of day: you've been staring at the screen too long:
online help: mmyyxw. format
the error message says the *-IN-*format
was not found
try simplify: less is more, ... hopefully
MMYY4 = put(Index_base_date,MMYYN4.);
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
If you always try to be logical,
you probably won't ever have much sorrow,
or much fun.
-- Ashleigh Brilliant pot-shot #4438
|