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 (October 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 25 Oct 2006 01:28:34 -0700
Reply-To:   BitByte <lieuwe.de.haan@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   BitByte <lieuwe.de.haan@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Saving proc contents for more datasets in one file
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset="iso-8859-1"

Dear all,

I have a wish but have no idea how to work things out. I have the folowing

data data.files; length file $8; input file;

datalines; file1 file2 file3; run;

data data.files (drop=total); set data.files; total + 1; call symputx('last',total); run;

Now the problem starts....

How do I create a do loop that creates a proc contents and appends this output for all of these datasets in one file...

I hope someone has brighter ideas than me at this point

Greetings Lieuwe


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