Date: Wed, 12 Dec 2007 10:43:58 +0100
Reply-To: Andre Wielki <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andre Wielki <wielki@INED.FR>
Subject: Re: format of the variables
In-Reply-To: <fa507f530712112310p62b02d84t42056f7febebe102@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
meesum kazmi a écrit :
> Hi all,
>
> I am trying to create a dataset that can give me the list of variables along
> with its format . I have tried using the dictionary.columns and proc
> contents but some how both these things are not giving me the correct
> result. Is there any other way that we can use to get this??
>
>
> Regards
> Meesum
>
>
The two ways are giving you the format of the variable IF exist!
otherwise a numeric value saved inside 8 bytes may contents a very long (decimal) number
and the format of a character variable can be deducted from the length column.
Show us an extract of your results that are not correct please.
Andre
--
André WIELKI
INED (Institut National d'Etudes Démographiques)
Service Informatique
133 Boulevard Davout 75980 Paris Cedex 20
mél : wielki@ined.fr tél : 33 (0) 1 56 06 21 54
|