How can I turn data like 01JAN14:00:03:05 into JAN14 in a data step? I tried this but it's not working:
format ANOMES monyy7.;
but it returns 1.704E9...
Also I would need to know how to compare, for example: in a proc sql:
sum(case when anomes='jan14' then 1 else 0 end)
is not working, I get: "Expression using equals (=) has components that are of different data types."
and also the > and <.
thanks!