Date: Thu, 9 Mar 2000 20:34:25 -0500
Reply-To: cosh_nospam@dca.net
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Cosh <cosh_nospam@DCA.NET>
Organization: Cosh
Subject: Cosh
Content-Type: text/plain; charset=us-ascii
A few people have expressed an interest in my batch macro (which I did
not author but inherited along the pathway.)
%macro bat (file)/STMT;
filename program "&file..sas";
proc printto log="&file..log" print="&file..lst" new;
%inc program;
proc printto;
run;
%mend;
The .lst and .log files can of course be opened by Word with no
problem. Since I load my macro utilities with the autoexec program, it
is an easy matter to use the bat(filename) command at any time.
|