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:
retain fmtname '$school';
keep fmtname start label;
Proc format cntlin=fmt library=<libref.catalog>;
On Thu, Feb 19, 2009 at 9:59 AM, Abc Unha <firstname.lastname@example.org> 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?