Date: Sat, 30 Aug 1997 02:58:15 GMT
Reply-To: Xlr82sas <xlr82sas@AOL.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Xlr82sas <xlr82sas@AOL.COM>
Organization: AOL http://www.aol.com
Subject: Re: Passing parameters
This is from memory so it might not be correct, see my web page for more info.
Suppose you have this macro in your autocall library
%macro geo
(
nation=US,
area=NE,
state=NY,
city=Newburg
) / des = "Geographic Analysis";
some SAS code
%mend geo;
Try something like this ( Windows/ OS/2 Unix VMS TSO Clist? )
sas c:\utl\geo -sasautos c:\utl -initstmt
%geo(nation=CANADA,AREA=NE,STATE=QUEBEC,CITY=MONTREAL)
or
sas \dev\null -sasautos c:\utl -initstmt
%geo(nation=CANADA,AREA=NE,STATE=QUEBEC,CITY=MONTREAL)
You need to handle the log and list in your macro.
Roger J DeAngelis
CompuCraft Inc
XLR82SAS@aol.com ( Accelerate to SAS )
http://members.aol.com/xlr82sas/utl.html