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

Hello Experts,

 

Do you know please, how to inidcate to go to the next page while odsout obj() reporting ?

Sometimes the data has a few rows, so one page is enough.

I would like to report on two pages if my data has many rows.

Thank you for your help !

 

My code is :

 

	OPTION NODATE NONUMBER;
		OPTIONS PAPERSIZE=A4;
		options orientation=portrait;
		OPTIONS TOPMARGIN=.001 in BOTTOMMARGIN=.001 in LEFTMARGIN=.001 in RIGHTMARGIN=.001 in;
		ODS NORESULTS;
		ODS PDF FILE = "&Publipostage.\xxxx_&xxxx..pdf" dpi=1800;
		ODS ESCAPECHAR = "^";
1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Have you looked at the PAGE method?

 

Page();

creates a page break when executed.

 

The serious question though is how to know when you want to execute it.

 

Or a Table_start / table_end pair.

View solution in original post

2 REPLIES 2
ballardw
Super User

Have you looked at the PAGE method?

 

Page();

creates a page break when executed.

 

The serious question though is how to know when you want to execute it.

 

Or a Table_start / table_end pair.

SASdevAnneMarie
Barite | Level 11
Thank you, ballardw !

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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