LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: meenit@AOL.COM
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. >


Back to: Top of message | Previous page | Main SAS-L page