I checked the solution this morning, and except for one small issue, it worked fine... I'm getting a message from FINDSTR which I don't understand.. I'm including the output so you can see it..
FINDSTR: Cannot open echo.F:\SASProg\Clients\proj317\QC\Analysis Data\SAS Code\Prog\ECG.log
After that error message, the rest of the file seems fine. Is there any way to suppress that message?