Bian, Forgive me to pick you up . I have lots of time , so take a look at your code . :smileysilly: data data; infile cards dsd truncover; informat record_date mmddyy12.; format record_date mmddyy10.; input power_id $ record_date default_reason $; cards; test1,2/21/2013, test1,3/21/2013, test1,4/21/2013, test1,5/21/2013, test1,6/21/2013, test1,7/21/2013, test1,8/21/2013, test1,9/20/2013,PD test1,10/31/2013, test1,11/30/2013, test1,12/31/2013, test1,1/31/2014, test1,2/28/2014, test1,3/31/2014, ; run; will get wrong result . pass_date should be missing.
... View more