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 (April 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 29 Apr 2008 03:38:02 -0700
Reply-To:   RolandRB <rolandberry@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   RolandRB <rolandberry@HOTMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: Check if a column exists in a dataset?
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

On Apr 29, 11:30 am, Eversmann <rifazraz...@gmail.com> wrote: > Hi, > > I am designing a generic macro --- to do some processing on a given > dataset. > > And a perticular column (say X) doesn't always exist. > > is there a way to check if this column exist and do the processing > accordingly... > > Many thanks in advance

There are various ways of doing this. One of the simplest is using the sashelp.vcolumn view.


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