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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
bradanelsonConnect With a Mentor Commented:
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
 
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
All Courses

From novice to tech pro — start learning today.