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?
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.
|