Suggest reviewing the SAS Companion for Windows - it mentions the ability to drag selected file(s) into an active SAS session's LOG window and SAS will then prompt you to "Submit". Unfortunately, you will not get your individual program's SAS log created in a separate file for each program, as it occurs when executing SAS batch requests.
Regarding your "log check" macro - you can explore using PROC PRINTTO and also the ALTLOG= OPTIONS parameter to re-direct your SAS log output to a file for whatever parsing and validating you want.
Scott Barry
SBBWorks, Inc.
... View more