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 (November 1999, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 30 Nov 1999 12:40:51 +0000
Reply-To:     Bruce Rogers <b.rogers@VIRGIN.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Bruce Rogers <b.rogers@VIRGIN.NET>
Subject:      Re: JUSTIFY / LABEL
Content-Type: text/plain; charset=iso-8859-1

Gerhard,

I think you'll find you are mistaken. If you use options nocenter then all titles will be left-justified. Try using j=right and you'll see no difference.

Bruce

Gehard Hellriegel wrote:

> Hi Bruce, > just for your info: > > ------------------------------------------------------------------------ > > Stephen Arthur wrote: > > > 1) If this is the correct syntax for TITLE/JUSTIFY, > > why is it printing the title centered and not left > > justified as I have commanded? The macro variables I > > am using resolve correctly and the format works > > properly too! > > > > ************************************************; > > proc print data = ratio; > > > > title1 j=left "&cell1"; > > title2 j=left "&file1"; > > title3 j=left "&cell2"; > > title4 j=left "&file2"; > > > > format gene $gene.; > > id gene; > > run; > > Well, this is a new one on me. I've never seen this j= option of the > title statement so my immediate thought is that it simply doesn't exist. > It looks like you're "borrowing" some syntax from SAS/Graph statements > and expecting them to work in normal output. They won't. > > >>> They work! Try it under 6.12, but add the > OPTION NOCENTER; > before the PROC PRINT... > > > 2) What's the deal with my LABEL statements? I can't > > get this ATTRIB statement to work before or after the > > SET statement. I tried the 'normal' way of listing > > LABEL w/o the ATTRIB statement and still no luck. > > > > *************************************************; > > data ratio; > > attrib > > avebc label = "&cell1 fwb" > > avebb label = "&cell2 fwb" > > avefc label = "&cell1 fmb" > > avefb label = "&cell2 fmb"; > > set ratio; > > ratiof = avebc/avebb; > > ratiofmb = avefc/avefb; > > run; > > So what does it produce ? It looks OK to me. More details required. > > >>>> the problem is not there, but in the PROC PRINT! Without the LABEL or the > SPLIT= option you will see the variable names instead of the labels..... > > Mit freundlichen Grüßen > > Gerhard Hellriegel > DeTeCSM


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