I stumbled upon this code, but was unable to get it to work. I am guessing since 2010 the syntax has changed a bit. In any case here is an update in case anyone needs to do this: data _null_; infile 'C:\FillMeIn\test.log'; input @;; if _infile_ ne ' '; * not blank ; if '0' < substr(_infile_,1,1) <= '9'; * begins with number ; num_end = index(_infile_, ' '); * find blank ; _infile_ = substr(_infile_, num_end); * take rest of line ; file 'C:\FillMeIn\test_no_line_numerbers.log'; put _infile_; run;
... View more