BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AmyZeng
Fluorite | Level 6

Hi,

 

How are you? I am using ODS to write a report for a demographic table. In proc report I used following codes to define the titles:

title1 font=&font. h=1 justify=l "Practice 2019" justify=r "Demographic Table";
title2 font=&font. h=1 justify=r "Page ^{pageof}";	
title3 font=&font h=2 bold "Table 1. Demographics And Baseline Characteristics";
title4 font=&font h=2 bold "ITT Population (N=&itt3)";

But I got some unwanted titles and missed the ^{pageof} feature as showed below.

sas1.jpg

Do you know what's the problem? Any suggestion is welcome.

 

Thanks and regards.

 

Amy

1 ACCEPTED SOLUTION

Accepted Solutions
AmyZeng
Fluorite | Level 6

The pageof showed after I added 

ods escapechar="^";

But the unwanted tile is still lasting. Thanks

View solution in original post

3 REPLIES 3
AmyZeng
Fluorite | Level 6

The pageof showed after I added 

ods escapechar="^";

But the unwanted tile is still lasting. Thanks

AmyZeng
Fluorite | Level 6

Great, the system generated date time disappeared after I added an option nodate:

 

options pageno=1 nodate;

 

Zhenbin
Fluorite | Level 6

try to add 

 

ods _all_ close;

 

at the very begin of your code, close all ods setting

 

then stat your desired ods output

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1074 views
  • 1 like
  • 2 in conversation