Hello~
I met a weird problem. I output PROC REPORT into PDF file. 1-845 pages, everything looks great, however, starting from 846page, the table size (or paper size?) suddenly changed and each line was just truncated.... I pasted page 845 and 846 as below. Do you guys know what is the reason? By the way, I am using the default orientation=portrait.
I've seen similar behavior in other programs when a variable's print space changed just a small amount because it had more "wide" values such as "w" compared with "i" or 0 with 1. That caused a word wrap to create enough space for the offending variable.
I'd be tempted to reduce the format of the mean column to maybe four decimals but that's just a guess.
Thanks. May be it is a good try. However, I guess in my case, the problem column is the var format....If you compare both page, you would find, in the second page, the width of var format suddenly got wider....And I do not know why that happened...
Is it possible you requested the NOZERO option and SAS has just removed the columns that did not have any data for that page?
suppresses the display of the report item if its values are all zero or missing.
Interactions | Even though the columns that you define with NOZERO do not appear in the report, you must count them when you are referencing columns by number. (See Four Ways to Reference Report Items in a Compute Block.) |
SHOWALL in the PROC REPORT statement or in the ROPTIONS window overrides all occurrences of NOZERO. |
Hm.... I checked...I did not add any NOZERO option there....
I had once similar behavior and the solution was printing with a uniform option. That was before ODS exist and a very long time ago.
SAS(R) 9.4 Output Delivery System: User's Guide, Third Edition But is see a uniform option for the PDF output for tables.
Did you use that? Take care on the notice of memory usage.
Hi:
This seems very odd behavior -- you had 1 PROC REPORT (not 2), right? If you didn't do anything that would change options in midstream, like call a second PROC REPORT step, then this seems like something that Tech Support would want to look at and possibly refer to the developers. I'd recommend opening a track.
cynthia
I do have two PROC REPORT. But those two are triggered based on IF condition...Only one of them could be triggered at once, not both of them. So, I may have to contact with Tech Support. Thanks!
Thanks! This option can help solve this problem. But, I still can see the size of table has changed from the page 845 to the page 846...I guess it is due to the SAS tech issue. Thanks anyway!
Yep the format was the other trigger for that changeable not stable layout.
That is where the uniform option did help.
It is very weird....Uniform option worked yesterday but it does not work today when I rerun the code....Too weird....I have to change the orientation to landscape....sign~
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!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: