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 (October 1996, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 11 Oct 1996 12:32:00 -0400
Reply-To:     Jin Qian <Jin.Qian@MCI.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Jin Qian <Jin.Qian@MCI.COM>
Subject:      Re: "Title" command syntax needed. Help, please!

In addition to add a RUN; statement after each PROC step, you can put the TITLE statement inside each PROC step. It is much more precise if you put it in this way.

example:

proc univariate; title 'Mean, Median and Mode for the whole sample:'; var att; run;

/* manual calculations of percentiles here */ proc freq; title 'Frequency Table for the whole sample:'; table att; run;

proc chart; title 'Frequency Chart for the whole sample:'; vbar att /discrete; run;

Jin Qian COMSYS TECHNICAL SERVICES, INC. @ MCI.

-------- REPLY, Original message follows -------- <<<Andrew Kukla <andrewk@IO.ORG> 10/10/96 11:33pm >>> "Rdsdnen" <rasanen@sprynet.com> wrote: (snip) I have a specific problem with this command. See my short command script:

options ls=70; data att; input id 1-3 sex $ 5 g 7 att 9; lines; 001 b 4 7 002 b 9 7 <snip> 079 b 9 3 080 g 9 5 ; title 'Mean, Median and Mode for the whole sample:'; proc univariate; var att;

title 'Frequency Table for the whole sample:'; /* manual calculations of percentiles here */ proc freq; table att;

title 'Frequency Chart for the whole sample:'; proc chart; vbar att /discrete;

There are three titles and three procedures. I was expecting to have three pages printed with these three properly corresponding titles.

So, the SAS printed three pages with proper procedures but the first page was titled with the second title, the second and third pages with the third title. The first title was ignored and printed no-where. What am I doing wrong?

Barbara

PS: Where are you located, Rasanen? Scandinavia? ============================================= Andrew M. Kukla in Toronto, Ontario, Canada andrewk@io.org ve3mrm@bbs.ve3rpi.ampr.org ============================================= -------- REPLY, End of original message --------


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