Date: Tue, 30 Nov 1999 09:50:06 +0100
Reply-To: Jim Groeneveld <J.Groeneveld@ITGROUPS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <J.Groeneveld@ITGROUPS.COM>
Subject: Re: TITLE/JUSTIFY & ATTRIB/LABEL questions
Content-Type: text/plain
Steven / Robin,
TITLE(s) are allowed after a PROC statement. If before a RUN statement they
apply to the concerning PROC. How do you (think you) actually "command" left
justification?
In what way can't you get the ATTRIB command to "work"? How do you note
that? Could you be more specific? Include crucial parts of log files or
results in your message?
Regards - Jim.
--
Y. Groeneveld, MSc IMRO TRAMARKO tel. +31 412 407 070
senior statistician P.O. Box 1 fax. +31 412 407 080
5350 AA BERGHEM IMRO TRAMARKO: a CRO
J.Groeneveld@ITGroups.com the Netherlands in clinical research
"My job is to keep my computer working." - Jim Groeneveld
> -----Original Message-----
> From: Robin baker [SMTP:rdbaker@SYMPATICO.CA]
> Sent: Tuesday, November 30, 1999 3:53 AM
> To: SAS-L@LISTSERV.UGA.EDU
> 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
|