BookmarkSubscribeRSS Feed
Kastchei
Pyrite | Level 9
I am running SAS 9.1.3 Service Pack 4 on XP.

I have the following proc report in ODS PDF. As written, just=d does not work. It becomes as if just=r. However, if I comment out either of the break statements, just=d works as expected. Not so much an open issue as just bug identification. The extra break in there is solely to build in more white space into the report, but isn't necessary.

proc report data = ii_2_t3 nowindows split = '~';
column _label_ sort _stat_ baseline endpoint;
define _label_ / order style = [just = l] 'Lab';
define sort / order noprint;
define _stat_ / display style = [just = l] 'Statistic';
define baseline / display style = [just = d] 'Baseline';
define endpoint / display style = [just = d] 'Endpoint';
break after _label_ / suppress summarize;
break before _label_ / suppress summarize;
run;
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
I'm a bit confused. You have all display variables, so the summarize on the BREAK statement is essentially not doing anything because there's nothing to summarize.
When I run equivalent code in SAS 9.2 and ODS PDF, I see the just=d working whether the BREAK statement is there or not.
If you feel you have found a bug, the best thing to do is open a ticket with Tech Support so they can test it in all current versions of SAS and report the problem to the developers.
The only difference between my code and yours is that I coded my DEFINE statements as:
[pre]
define baseline / display style(column) = [just = d] 'Baseline';
define endpoint / display style(column) = [just = d] 'Endpoint';
[/pre]

cynthia
Kastchei
Pyrite | Level 9
Yes, the breaks are strictly there to force white space between groups. The just works fine with one break statement, but not with both. Thanks for the advice. I'll put in a ticket.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 982 views
  • 0 likes
  • 2 in conversation