DATA Step, Macro, Functions and more

How to represent different title for two different pages in proc report?

Reply
Frequent Contributor
Posts: 93

How to represent different title for two different pages in proc report?

I have a report with two pages I need to to give first page with different title and second page with different title.

 

Thanks,

Respected Advisor
Posts: 3,278

Re: How to represent different title for two different pages in proc report?

Posted in reply to rajeshalwayswel

You should tell us more details about what is on the first page and what is on the second page and the code used to produce this report and even the data. Otherwise, there's no one here who can help.

--
Paige Miller
Frequent Contributor
Posts: 93

Re: How to represent different title for two different pages in proc report?

Posted in reply to PaigeMiller
First page with title "Frequency"
Second page with title "Statistics"
Respected Advisor
Posts: 3,278

Re: How to represent different title for two different pages in proc report?

Posted in reply to rajeshalwayswel

I also asked to see the code used to create these reports.

--
Paige Miller
Super User
Posts: 24,012

Re: How to represent different title for two different pages in proc report?

Posted in reply to rajeshalwayswel

rajeshalwayswel wrote:

I have a report with two pages I need to to give first page with different title and second page with different title.

 

Thanks,


Use two title statements. 

 

Generic, vague question = generic, vague answers.

Super User
Posts: 13,941

Re: How to represent different title for two different pages in proc report?

Posted in reply to rajeshalwayswel

Title1 "some text" before first Proc report code.

Title1 "some other text" before second Proc report code.

 

title1; after all code to avoid getting unwanted titles.

Super User
Posts: 10,850

Re: How to represent different title for two different pages in proc report?

Posted in reply to rajeshalwayswel
ods text='xxxxxxxxxxx';
proc report..........

ods text='yyyyyyyyyyy';
proc report..........
Ask a Question
Discussion stats
  • 6 replies
  • 155 views
  • 0 likes
  • 5 in conversation