LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 1997, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page