"Huang, Ya" <ya.huang@PFIZER.COM> wrote in message
> expected result:
> Cat2 Start
> ID= 1
> ID= 2
> ID= 3
> ID= 4
This type of class level indented report is highly desirable yet annoyingly
un Proc REPORT.
The big problem is the LINE statement in the compute blocks. LINE is
unconditional and thus always puts out something even if you don't want it
Using ODS destinations, you can accumulate to a string the class level
values you want to present in the break afters and output a line in the
final break after. In each break after with a class level value you want
show, you need to append to your string the ODS inline directive \n
followed by the indentation amount of spaces and the class level value.
The line cell should also be styled 'asis'.
Richard A. DeVenezia