BookmarkSubscribeRSS Feed
deleted_user
Not applicable
When I run, say, 5 proc print in one program in sas enterprise, output window put every print result on a separate page, with result of each print procedure is separated with others by a page break line. I want to have all of 5 print results continuously put on pages, what should I do?

thanks
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Look at using the OPTIONS setting FORMDLIM= for this purpose.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic / post:

output window new page formdlim site:sas.com
Cynthia_sas
Diamond | Level 26
Hi,
If you are creating LISTING output in SAS Enterprise Guide, then do investigate the FORMDLIM option, as Scott suggests.

If you are creating RTF or PDF output, then there is an ODS option (STARTPAGE=NO) that you can use to prevent SAS from starting a new page for every procedure.

Under TOOLS --> Options, you should find a way to specify this option for your task or project.
If you wanted to modify the EG-generated code, the correct place would be on the ODS RTF or ODS PDF statement:
[pre]
ods rtf file=.... startpage=no;
OR
ods pdf file=..... startpage=no;
[/pre]

If you are creating HTML output or SASReport XML output with EG there is no equivalent of the STARTPAGE option for those destinations. For example, the HTML destination does not have any page controls like margins or page numbers because the HTML specification does not have them. SAS normally puts a horizontal rule tag <hr> between procedures. This horizontal rule might generate a page break when printed because of the "page-break-after:always" CSS instruction that is used with the horizontal rule tag.

What is your destination of choice in EG??? Does your output look like an ASCII text file, like an Acrobat Reader file, like a Word doc or like an HTML page?

Cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 3973 views
  • 0 likes
  • 3 in conversation