Date: Tue, 30 Nov 1999 02:52:59 GMT
Reply-To: Robin baker <rdbaker@SYMPATICO.CA>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robin baker <rdbaker@SYMPATICO.CA>
Organization: Sympatico
Subject: Re: TITLE/JUSTIFY & ATTRIB/LABEL questions
TITLE statement is not executable and should go before the PROC PRINT
STATEMENT. However I have had problems with this too, on a main frame
if I remember correctly, can't remember the specifics, if I solved it
or how. But try, should work according to the rules.
On 30 Nov 99 01:51:44 GMT, sarthur67@YAHOO.COM (Stephen Arthur) 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
|