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 (March 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 6 Mar 2003 18:13:47 +0100
Reply-To:     Peter Crawford <peter.crawford@DB.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter Crawford <peter.crawford@DB.COM>
Subject:      Re: To print out
Content-type: text/plain; charset=iso-8859-1

another trick achieves the original objective.. almost fully ! put each variable on a separate row. Clearly the width is a problem. So trade width for depth. Instead of expecting to print all variables in columns as given by put (_all_)( : ); for csv-type output just print with data _null_; set your.data; file print; put / (_all_)(/=); run; Then you get name=value pairs, one pair per line, and a blank line separating observations. The max width is the max width of any var and its name.

It is simple, it works, and it is probably the quickest way to persuade the original "requirement-definer" to "get real"

Regards Peter Crawford

Datum: 06/03/2003 17:55 An: SAS-L@LISTSERV.UGA.EDU

Antwort an: Howard_Schreier@ITA.DOC.GOV

Betreff: Re: To print out Nachrichtentext:

One way to "tighten up" a report is to combine fields. This is most appropriate for related text fields. For example, if first name, last name, middle initial, and title are separate fields like

Last First Middle Title Name Name Initial

Adams John Q. President Doe John Jeter Derek Shortstop

Concatenate and present as one field

Name (Title)

Adams, John Q. (President) Doe, John Jeter, Derek (Shortstop)

On Wed, 5 Mar 2003 12:34:30 -0800, Sam <archana_gs@MAILCITY.COM> wrote:

>If the output listing in the sas contains too many variables , How do >u fit in one word document without variables falling out. > >Thank you

--

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


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