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
In-Reply-To: <8C90CEACC9EF29D-4BC-1E@mblk-d25.sysops.aol.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi,
use
PROC contents data=sashelp.class noprint out=cnt;
run;
Stéphane.
Selon meenit@AOL.COM:
> 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,
> Meenit
> ________________________________________________________________________
> 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.
>
|