Date: Tue, 22 May 2007 15:58:04 -0400
Reply-To: Jake Bee <johbee@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jake Bee <johbee@GMAIL.COM>
Subject: Re: Functions to detect character vs. numeric vars
In-Reply-To: <ed52c9100705220714x5229c981vd3da46e34c78a848@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Does any know if there is a similiar way to get the vtype whilst in proc
sql?
On 5/22/07, Jake Bee <johbee@gmail.com> wrote:
>
> Thanks, this works fine!
>
> On 5/22/07, Andre Wielki <wielki@ined.fr> wrote:
> >
> > Jake Bee a écrit :
> > > SAS-L:
> > >
> > > Does anyone know of any functions in SAS to determine if a variable is
> >
> > > char or num (instead of using proc contents to determine this)?
> > >
> > > Thanks for any info!
> > >
> > > Jake
> > >
> > >
> > Jake
> > see vtype(variable) which return N or C
> >
> > HTH
> > Andre
> >
> > --
> > Andre Wielki
> > INED (Institut National d'Etudes Démographiques)
> > 133 Boulevard Davout 75980 Paris Cedex 20
> > 33 (0) 1 56 06 21 54 FRANCE
> >
> >
> >
>
|