The SAS Output Delivery System and reporting techniques

ODS region Column_Span Issue with ODS text

Reply
SAS Employee
Posts: 1

ODS region Column_Span Issue with ODS text

I'm putting a dashboard together using ODS PDF and ODS Layout using SAS 9.3.  I am using the gridded method as the absolute method doesn't work for me.  The issue that I'm having is that whenever I use ods text in region with column_span, the text automatically get centered even if I try to left justify it.  I've included some code below.  Please advise.

Thanks in advance,

Edwin

ods graphics / height=2.55in;

ods noproctitle;

ods escapechar="^";

ods layout start width=10in height=7.5in columns=2 column_widths=(4.75in 4.75in);

ods region column_span=2;

ods text= "^S={just=c font_size=3 font_weight=bold foreground=black}Monthly Counts";

ods region height=.5in column_span=2;

ods region column_span=2;

/* segment summary */

proc tabulate data=sim.totals S=[just=c font_size=0.1];

   class year_month acct_seg seg_desc / S=[just=c font_size=0.1];

   classlev year_month acct_seg seg_desc / S=[just=l font_size=0.1];

   table (acct_seg={label=' ' S=[font_size=0.1 vjust=m]} * seg_desc={label=' ' S=[font_size=0.1 vjust=m]}) *

         (n={label=' ' S=[just=c font_size=0.1]}*f=comma15.),

         year_month={label='Time Period' S=[just=c font_size=0.1 vjust=m]} / row=float  s=[borderwidth=1 cellspacing=0 cellpadding=3]

         box={label='Monthly Segment Account Summary' S=[just=c font_size=0.1]};

run;

ods region height=.5in column_span=2;

ods region column_span=2;

ods text= "^S={just=l font_size=0.5}* Line of Business: &lob ^n

          * Segments rollup to &rollup level ^n

          * Account Effective Date: &eff_date";

ods layout end;

Post a Question
Discussion Stats
  • 0 replies
  • 239 views
  • 0 likes
  • 1 in conversation