LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 18 Feb 2002 09:10:02 -0500
Reply-To:     Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject:      Re: PASS AF Parm?

On Mon, 18 Feb 2002 14:08:57 +0000, Graeme Kirton <gkirton@FILCS.COM> wrote:

>Hi Folks, little AF Problem I have with a macro variables. > >Im using code like this > >%LET choice = 0; >proc display cat=LIBRARY.CAT.CATENTRY.SCL batch; > run; > > >then in my AF SCL Im assigning choice to typeaccess, typeaccess = &choice; > >Thing is it doesn't resolve until my execution has fininshed, I think I need it >to resolve at compile time. > >Please help. > >GK

..you should use the symget function in AF. That is done at runtime, not at compile time.

typeaccess=symget("choice"); > > >___________________________________________________________________________ _________________________________ > >Disclaimer > >This email may contain privileged/confidential information and/or copyright >material. It is intended only for the use of the person(s) to whom it is >addressed and any unauthorised use may be unlawful. If you receive this email >by mistake, please advise the sender immediately by using the reply facility on >your email software and delete the material from your computer. > >Opinions, conclusions and other information in this email that do not relate to >the official business of this organisation shall be understood as neither given >nor endorsed by it. > >If this message forms part of a quotation, the quotation is an invitation to >treat only. No contract subsists until Filtronic Plc (or its subsidiary >companies) accepts your order. Acceptance of your order is made subject to our >standard Terms and Conditions. > >Website Address http://www.filtronic.com


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