<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: about proc template in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47649#M6185</link>
    <description>Thank you for your answer &lt;BR /&gt;
and i have another question:&lt;BR /&gt;
 Why the just=c in numeric variables like age and height have not effect in my output ?&lt;BR /&gt;
How can i do to center these numeric variables ?&lt;BR /&gt;
Thank you</description>
    <pubDate>Tue, 23 Jun 2009 13:06:02 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-06-23T13:06:02Z</dc:date>
    <item>
      <title>about proc template</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47646#M6182</link>
      <description>Hello, &lt;BR /&gt;
i make this code but i don't find how to extend the width of my colums or of my table more generally ?&lt;BR /&gt;
it's because i find that right now, this following output is really not nice to see...&lt;BR /&gt;
of course, i want it for RTF output...&lt;BR /&gt;
the code is: &lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
  define table tabsas ;&lt;BR /&gt;
    dynamic header_text footer_text ;&lt;BR /&gt;
	header head1 ;&lt;BR /&gt;
    column age sex height;&lt;BR /&gt;
    define head1; text  header_text ; just=L;end;&lt;BR /&gt;
    define age;      Header="age" just=c; just=c;  end;&lt;BR /&gt;
    define sex ;     Header="sex" just=c; just=c;   end;&lt;BR /&gt;
    define height;  Header="height" just=c; end;                &lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file="mypath\mydoc.rtf";&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
  set sashelp.class;&lt;BR /&gt;
  file print ods=( dynamic=( header_text="is there a way to increase the width of my table output to make it nicer"  )&lt;BR /&gt;
  template='tabsas');&lt;BR /&gt;
  put _ods_;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your answers, i trust you :-))</description>
      <pubDate>Mon, 22 Jun 2009 16:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47646#M6182</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-22T16:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: about proc template</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47647#M6183</link>
      <description>How about:&lt;BR /&gt;
&lt;BR /&gt;
[pre]proc template ;&lt;BR /&gt;
  define table tabsas / STORE=SASUSER.TEMPLAT;&lt;BR /&gt;
    dynamic header_text footer_text ;&lt;BR /&gt;
    header head1 ;&lt;BR /&gt;
    column age sex height;&lt;BR /&gt;
    define head1;  text header_text      ; just=l; &lt;SPAN style="color:red"&gt;&lt;B&gt;split='/';&lt;/B&gt;&lt;/SPAN&gt; end;&lt;BR /&gt;
    define age;    Header="age"    just=c; just=c;            end;&lt;BR /&gt;
    define sex ;   Header="sex"    just=c; just=c;            end;&lt;BR /&gt;
    define height; Header="height" just=c;                    end; &lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file="f:\mydoc.rtf";&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
  set sashelp.class;&lt;BR /&gt;
  file print ods=( dynamic=(header_text="There is a way to increase&lt;SPAN style="color:red"&gt;&lt;B&gt;/&lt;/B&gt;&lt;/SPAN&gt;the width of my table") template='tabsas');&lt;BR /&gt;
  put _ods_;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf close;</description>
      <pubDate>Mon, 22 Jun 2009 22:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47647#M6183</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-06-22T22:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: about proc template</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47648#M6184</link>
      <description>Hi:&lt;BR /&gt;
  You could apply a style to the -whole- table by doing this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
column age sex height;&lt;BR /&gt;
style={outputwidth=6in};&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
A style specification that is NOT inside any column DEFINE block, but is inside the DEFINE TABLE block, will apply to the whole table.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 23 Jun 2009 09:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47648#M6184</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-06-23T09:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: about proc template</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47649#M6185</link>
      <description>Thank you for your answer &lt;BR /&gt;
and i have another question:&lt;BR /&gt;
 Why the just=c in numeric variables like age and height have not effect in my output ?&lt;BR /&gt;
How can i do to center these numeric variables ?&lt;BR /&gt;
Thank you</description>
      <pubDate>Tue, 23 Jun 2009 13:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47649#M6185</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-23T13:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: about proc template</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47650#M6186</link>
      <description>Hi:&lt;BR /&gt;
  It could be that SAS is respecting the formatted width -- so the -formatted- number, padded with spaces, is what gets centered. It ends up looking like no centering has taken place.&lt;BR /&gt;
  The statement to deal with this is the JUSTIFY statement. You would set it in your define block to JUSTIFY=OFF; (the default) if you want the formatted width to be respected and set it to JUSTIFY=ON; if you want the justification to ignore the formatted width, not pad with spaces and allow your just=c to take control.&lt;BR /&gt;
  If it turns out that it's NOT the JUSTIFY setting, then you might want to work with Tech Support. Remember JUSTIFY=ON essentially tells ODS to allow justification to happen without regard to the formatted width -- that sounds like what you want.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 23 Jun 2009 18:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47650#M6186</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-06-23T18:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: about proc template</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47651#M6187</link>
      <description>thank you very much for your help</description>
      <pubDate>Wed, 24 Jun 2009 12:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/about-proc-template/m-p/47651#M6187</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-24T12:26:16Z</dc:date>
    </item>
  </channel>
</rss>

