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 (August 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 4 Aug 2008 10:37:06 -0400
Reply-To:     "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:      Re: compare
In-Reply-To:  <9ccd08c5-c764-43ff-b43a-a1d9d77eabe1@k13g2000hse.googlegroups.com>
Content-Type: text/plain; charset=us-ascii

> From: ash007 > > How to compare the name of the variable of 2 datasets. just the name > not the information of the variables. > > can SAS create an output with the name of the variable different and > non-different.

One of the reports I developed in my SmryEachVar suite was a simple sort and print by Name of the output from Proc Contents

Proc Contents data = Library._all_ out = Work.Contents (keep = Libname MemName Name Type Length);

Proc Sort data = Work.Contents; by Name;

Proc Print data = Work.Contents; by Name; id Name;

Ron Fehd the data structure maven CDC Atlanta GA USA RJF2 at cdc dot gov


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