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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1109 views
  • 1 like
  • 2 in conversation