Small need if indicator and is there it should move the dates having indicaotr=1 and No=2 only how can i do it data calendar_table(drop=sdt edt); input sdt$ 1-9 edt$ 10-20 Indicator NO; stdate =input(sdt,date9.); enddate=input(edt,date9.); format stdate enddate ddmmyy10.; cards; 12jan2011 13jan2011 1 2 13jan2011 14jan2011 1 4 14jan2011 15jan2011 2 3 15jan2011 16jan2011 1 4 16jan2011 17jan2011 1 4 17jan2011 18jan2011 2 5 ; run; data calendar_table need_table; set calendar_table; length path data $ 400; if indicator=1 and no=4 then do; path='c:\raw';data='order.txt'; output need_table;delete;end; output calendar_table; run; Req:2 )And i wnat to Edit the need_table and keep the dates if dates 12jan2011 13jan2011 are complted if needed i should call them again as per the logic the calendar_table does not hold these obs if once the date was crossed ,how can i do that. Reg:3) If need_table; are having dates sdate :15jan2011 and endate:16jan2011 dates in that table i will edit them and again move the date to 13jan2011 and 14jan2011 respectively again it should get the dates accordingly ... Thqs in advance
... View more