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

Hi all,

 

I need to print header details like below (please refer to the following diagram).

 

1. Need to print few details on the left side and need to print date with time on the right side.

 

2. Then need a line.

 

3. This should replicate in all the pages.

 

Thanks in advance.

 

Inkedheader_doubt.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26

HI: What code have you tried? What does your current TITLE statement look like? SAS dates only appear in "paged" output, like the LISTING output, RTF output or PDF output. What do your ODS statements look like?

Consider a title statement such as this:
ods_pdf_title.png
... that might work for you.

 

Cynthia

View solution in original post

4 REPLIES 4
ballardw
Super User

What type of document do you need this for? The ODS destination options always affect the possible solutions.

 

Do you need to use title statements in the body of the pages for SAS generated output?

Suvathi
Calcite | Level 5

1. I need a pdf document.

 

2. Yes, I need to use title statements in the body of the page.

 

 

Cynthia_sas
Diamond | Level 26

HI: What code have you tried? What does your current TITLE statement look like? SAS dates only appear in "paged" output, like the LISTING output, RTF output or PDF output. What do your ODS statements look like?

Consider a title statement such as this:
ods_pdf_title.png
... that might work for you.

 

Cynthia

Suvathi
Calcite | Level 5

Thank you. Its worked

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
  • 4 replies
  • 1552 views
  • 0 likes
  • 3 in conversation