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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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