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 !

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 365 views
  • 1 like
  • 2 in conversation