Date: Tue, 23 Jan 2007 11:09:55 +0100
Reply-To: Stéphane COLAS <scolas@DATAMETRIC.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Stéphane COLAS <scolas@DATAMETRIC.FR>
Subject: Re: info from Proc Contents output file
Content-Type: text/plain; charset=ISO-8859-1
PROC contents data=sashelp.class noprint out=cnt;
> I need to extract variable attribute information from a Proc Contents output
> file so that I can cross-check the format/length of selected variables across
> datasets. My goal is to check the consistency of the formats and lengths of
> certain variables across datasets. How can I obtain the attributes of a
> variable in a dataset from a proc contents listing and write this info out
> into a SAS dataset so that I can do a proc compare (or any comparison code)
> on the attribute of this variable between 2 or more datasets?
> I would appreciate any sample code or pseudo-code that will do this.
> thanks in advance,
> Check out the new AOL. Most comprehensive set of free safety and security
> tools, free access to millions of high-quality videos from across the web,
> free AOL Mail and more.