Hello. rockfido.
MONYY5. is an useful INFORMAT. You can use this INFORMAT and INPUT function to convert a character into a date value. The following is one of the solutions to your question.
Hope it helps.
- data a;
- input Mon monyy5.;
- cards;
- JAN10
- FEB10
- MAR10
- APR10
- MAY10
- ;
- data b;
- set a;
- if mon gt input("MAR10",monyy5.);
- run;


雷达卡





京公网安备 11010802022788号







