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 (August 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Aug 2008 12:25:41 -0700
Reply-To:     Akshaya <akshaya.nathilvar@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Akshaya <akshaya.nathilvar@GMAIL.COM>
Subject:      Re: macro variable generated by Proc SQL
Comments: To:
Content-Type: text/plain; charset=ISO-8859-1

My bad, you can use inner SELECT clause in a SELECT clause.(Learned a new thing). Define the macro variables as global before the SQL step, so that you can refer it anywhere in the same SAS session.

%global first_&&id&i last_&&id&i lastdos_&&id&i

Thanks! Akshaya

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