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 13:49:01 GMT
Reply-To:     charles_patridge@MY-DEJA.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         charles_patridge@MY-DEJA.COM
Organization: Deja.com - Before you buy.
Subject:      Re: TITLE/JUSTIFY & ATTRIB/LABEL questions

Dear Stephen,

Using SAS Version 6.12 on an Alpha OpenVMS, this is what I got. I too never have seen the "j=left" option of the title statement.

10 11 option ls=72 center; 12 data test; 13 do i = 1 to 10; 14 x = i ; output; 15 end; 16 run;

NOTE: The data set WORK.TEST has 10 observations and 2 variables. 17 18 title1 j=left "testing justification"; WARNING: Text which was not in a quoted string in the TITLE or FOOTNOTE statement ("j" etc.) was assumed to be graphics options and was ignored. 19 run;

Regards, Charles Patridge Charles_S_Patridge@prodigy.net

I see it must be a graphics option as noted in the "warning" message. I forgot, haven't used SAS graph in ages.

In article <19991130015144.9331.qmail@web122.yahoomail.com>, Stephen Arthur <sarthur67@YAHOO.COM> wrote: > Hi again, > > Think these are 'easy' questions for me, but I just > can't seem to get these buggers to work. > > 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; > ************************************************; > > 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; > *************************************************; > > Could the problem in a some fancy option statement? > > steve > __________________________________________________ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one place. > Yahoo! Shopping: http://shopping.yahoo.com >

Sent via Deja.com http://www.deja.com/ Before you buy.


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