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 (December 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 17 Dec 2004 08:03:25 -0500
Reply-To:     Nathaniel_Wooding@DOM.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nat Wooding <Nathaniel_Wooding@DOM.COM>
Subject:      Re: Reports in SAS?
Comments: To: "jirka.hana@gmail.com" <jirka.hana@GMAIL.COM>
Content-type: text/plain; charset=US-ASCII

Jirka

You have had several good suggestions. If I understand your data correctly, my usual sollution would probably be to use put statements to write out each record. Without knowing how your data are structured, I can't be more specific.

There is also another solution to this problem if you happen to have a license for SAS/FSP (the full screen product). If all of the data for a person is in a single observation, you can set up an FSEDIT screen to display the information in the desired layout. (And no, Mikeeey, I did not come up with approach). Then (and I have only done this on a mainframe), if you run FSEDIT with the data set in batch mode, each screen is printed. If you have invoked ODS, you can specify that the output be rendered in HTML.

Nat Wooding

"jirka.hana@gmail .com" <jirka.hana To: SAS-L@LISTSERV.UGA.EDU Sent by: "SAS(r) cc: Discussion" Subject: Reports in SAS? <SAS-L@LISTSERV.U GA.EDU>

12/16/04 03:21 PM Please respond to "jirka.hana@gmail .com"

Hello,

could somebody give me a hint how to create reports from SAS datasets? I have a dataset of people - their names, basic data, and test results for several years. For each person, I need to create a pdf & html file containing a card summarizing the data. The card would contain the following: (1) name, date of birth, .... (2) a table listing test results (different tests in lines, years in columns); (3) some comments, etc. All of it has to be formated in a proper way.

I have no idea how to do it. I do not think I can use proc Tabulate, since this is not summary statistics, but a separate report for each person. Currently, I write the html code directly (using macros), but that does not work for pdf and moreover it's quite ugly. Is there some better way?

Thanks a lot Jirka


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