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 (July 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 24 Jul 2006 06:34:50 -0700
Reply-To:     BILL WEST <wm_a_west@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         BILL WEST <wm_a_west@YAHOO.COM>
Subject:      Re: _ALL  Iname in MACRO
Comments: To: Irin later <irinfigvam@yahoo.com>
In-Reply-To:  <20060724131701.45562.qmail@web34105.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

When the data step sets in E2004.&model._ALL_ it is setting in all datasets in the "E2004.&model" library so the where statement will apply to all the observations in the concatenated file. Obviously they should all have the variables required for the where condition.

Irin later <irinfigvam@YAHOO.COM> wrote: Being not familiar with Macro ,I am trying to figure out in somebody’s code ***************************************************************************** Libname E2004 ‘p:\EC’;

*%MACRO E (MODEL);

DATA OUT.&model.; set E2004.&model._ALL; WHERE E_FAMILY IN...

What I have read about macros did not clarified this name: _ALL. I assume this is macro convention… I look at the EC folder’s staff and found multiple files overthere…..

Does it means that _ALL refers to each of the file name under EC folder? Does it means that WHERE condition will fork for each of 20 files under EC folder?

Thank you in advance,

Irin

--------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

Regards,

Bill West Cell # 978 394 1746 Home # 508 358 7698

--------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta.


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