Subtitles in sas

Hi:

  I wanted to create subtitles in the report in sas. This title is underlined and of a different format and size. Is there a way I can accomplish this? My code currently looks as follows:

DATA _NULL_;
    CALL SYMPUT('timestp',TRIM(LEFT(PUT(TIME(),TIME10.))));
RUN;

ods listing close;
ods msoffice2k file='/myfolder/rpt.txt';
ods escapechar='^';

DATA _NULL_;
tdate=today();
timestamp="&timestp";

FILE PRINT;
TITLE 'MY REPORT';
put @1 'Date:' @;
put @7 tdate  mmddyy8. @;
put @70 'Time: ' timestamp @;

<--- subtitle here that is underlined and of a different siz and format.

RUN;


LuckyLucksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bradanelsonCommented:
I haven't worked on exactly what you are doing, but I have put TITLE's and FOOTER's on my outputs in ODS.  Before the FILE PRINT; try to set the FOOTER.

FOOTER1 "Add text you would like to see at the bottom of your report";

FILE PRINT;
TITLE 'MY REPORT';
put @1 'Date:' @;
put @7 tdate  mmddyy8. @;
put @70 'Time: ' timestamp @;
RUN;

Let me know if that works for you.  If so, we can move on to the next part of your quesion of formating the text.
0
LuckyLucksAuthor Commented:
I am not looking for a single subtitle but many subtitles (as in MS Word - you can have multiple subtitles).
0
bradanelsonCommented:
Did the FOOTER work?  If so, you can add many FOOTER's at the bottom.

FOOTER1 "";
FOOTER2 "";
FOOTER3 "";


I think I have used up to 4.  I'm not sure if there is a limit.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.