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 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 7 Jul 2004 14:35:56 -0500
Reply-To:     "Dunn, Toby" <tdunn@TEA.STATE.TX.US>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Dunn, Toby" <tdunn@TEA.STATE.TX.US>
Subject:      Re: selecting multiple datasets
Comments: To: Nicole Bibb <nicole.d.bibb@WELLSFARGO.COM>
Content-Type: text/plain; charset="us-ascii"

Assuming you want a new macro var for each dataset:

Data _null_; Set sashelp.vcolumn; Where memname =: ('val');

Call symput(memname,memname); Run;

Should do it.

HTH Toby Dunn

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Nicole Bibb Sent: Wednesday, July 07, 2004 2:06 PM To: SAS-L@LISTSERV.UGA.EDU Subject: selecting multiple datasets

I have several datasets with similar names in the same library. I only want to select those datasets with 'val' in the name and store them in macro variables.

Any ideas?

Thanks


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