|
I don't think so, to create formats from a dataset without manipulating it,
unless it contains the required variables(Formatname,start,end[if you
specify a range],label). If your dataset just contains the 2 variables you
mentioned START and DESCRIPTION, then:
Data fmt;
retain fmtname '$school';
set have(rename=(description=label));
keep fmtname start label;
Run;
Proc format cntlin=fmt library=<libref.catalog>;
Run;
On Thu, Feb 19, 2009 at 9:59 AM, Abc Unha <abcunha@yahoo.com> wrote:
> I have a SAS dataset that contains Start value and end value. I would like
> to create format using that SAS Dataset. I want create format only using
> proc format (with out manipulating sas dataset)
>
> For e.g.
>
> Start Description
> UGA University of Georgia
> GTECH Georgia Tech
>
> I would like to read "Start" column and create a format to use Description.
>
> Is there anyway to directory read SAS dataset and creates format?
>
--
AkshayA!
|