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 (June 2004, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 29 Jun 2004 15:20:50 -0400
Reply-To:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:   Re: how do you display Proc Summary timedata ?
Comments:   To: sas@MAILINATOR.COM

When I run

data _null_; set x1; put w time11.; run;

I get

0:01:01 143:02:59

If you display this using a monospaced font, you should see the colons in the second line directly below the colons in the first line. I would call that aligned.

On Tue, 29 Jun 2004 07:35:57 +0300, Nina Harris <sas@MAILINATOR.COM> wrote:

>Howard Schreier wrote >> It's hard to say without seeing some code, but I suspect that the problem >> has nothing to do with PROC SUMMARY. > >well, as a brief sample, assume you had the simple data >data x1; w = '0:01:01't;output;w = '143:02:59't; output; > >the variable w represents a proc summary output where the time variable >for the class was summarized, thus 143 hours, 2 minutes, 59 seconds > >problem is aligning this to an output dataset, still haven't figured out a >simple >way to ensure that hours minutes seconds are aligned in a simple >data _null_;file "something"; put ..... > >> put @21 mytime time9.; >> put @21 mytime; > >tried all sorts of variations, including time11., no solution yet. >the data is not aligned in the output file


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