Can any one help why the indent attribute is getting effected?
ods rtf file='D:\Clin-Dem\HCC\New Folder\1.rtf' style=styles.journal;
PROC REPORT DATA=sasuser.fianls nofs out=one split='`'
style=[frame=hsides rules=groups]
style(column)=[cellwidth=1 in protectspecialchars=off just=c]
style(header)=[font_weight=bold protectspecialchars=off]
;
COLUMN order1 order2 text trt, value last;
DEFINE order1/ group noprint;
DEFINE order2/ group noprint;
DEFINE text/ group'Charactaristic' style=[cellwidth=3 in just=l pretext='\li600 '];
DEFINE TRT/ across FOrMAT=treatment.'' ;
DEFINE value/ group '';
DEFINE last/ computed noprint;
compute before order1 / style=[font_weight=bold];
line @1 '';
line @1 order1 order.;
temp=order1;
endcomp;
compute last ;
if temp=1 and order2 = 7 then call define(_row_, 'style', 'style=[pretext="\line "]');
endcomp;
run;
ods rtf close;
Thank you in advance
Hi:
This is an instance where seeing ALL your data is going to be needed to understand what the values of TEMP and ORDER2 are and how they might possibly interact and negate the \li600 that you pass in as a style attribute.
The only thing I notice is that you do not specify the style override entirely correct. Usually, in a DEFINE statement, PROC REPORT expects to see a location in parentheses, like this:
DEFINE text/ group'Charactaristic' style(column)=[cellwidth=3 in just=l pretext='\li600 '];
I would suggest that you open a track with Tech Support for help with this issue. To open a track with Tech Support, fill out the form at this link:
http://support.sas.com/ctx/supportform/createForm
cynthia
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 the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.