<?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 different justification within in-line formatting in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2569#M1109</link>
    <description>Hi y'all&lt;BR /&gt;
&lt;BR /&gt;
I'm in ods pdf, proc-report-ing, and I'm wanting to justify the first part of a line (a string) left, and the last part right.&lt;BR /&gt;
&lt;BR /&gt;
Something like&lt;BR /&gt;
proc report&lt;BR /&gt;
  data whatever;&lt;BR /&gt;
  columns ("^S={just=L}This part left^S={just=R}this part right" col1 col2 col3);&lt;BR /&gt;
&lt;ETC...&gt;&lt;BR /&gt;
&lt;BR /&gt;
...I can't do this, can I? (sinking feeling)&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Tree Frog&lt;/ETC...&gt;</description>
    <pubDate>Wed, 21 Mar 2007 14:18:30 GMT</pubDate>
    <dc:creator>TreeFrog</dc:creator>
    <dc:date>2007-03-21T14:18:30Z</dc:date>
    <item>
      <title>different justification within in-line formatting</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2569#M1109</link>
      <description>Hi y'all&lt;BR /&gt;
&lt;BR /&gt;
I'm in ods pdf, proc-report-ing, and I'm wanting to justify the first part of a line (a string) left, and the last part right.&lt;BR /&gt;
&lt;BR /&gt;
Something like&lt;BR /&gt;
proc report&lt;BR /&gt;
  data whatever;&lt;BR /&gt;
  columns ("^S={just=L}This part left^S={just=R}this part right" col1 col2 col3);&lt;BR /&gt;
&lt;ETC...&gt;&lt;BR /&gt;
&lt;BR /&gt;
...I can't do this, can I? (sinking feeling)&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Tree Frog&lt;/ETC...&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:18:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2569#M1109</guid>
      <dc:creator>TreeFrog</dc:creator>
      <dc:date>2007-03-21T14:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: different justification within in-line formatting</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2570#M1110</link>
      <description>Hi:&lt;BR /&gt;
  See if this does the trick for you WITHOUT using ODS ESCAPECHAR. PROC REPORT gives you a way to produce "spanning headers" by just specifying the string you want BEFORE the variables you want the string to span. Try this code. I've included the LISTING dest version, as well, so you can see how it started:[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file='c:\temp\spanhead.pdf';&lt;BR /&gt;
  proc report data=sashelp.shoes(obs=20) nowd;&lt;BR /&gt;
    column ('Something' region subsidiary) ('Something Else' product sales inventory);&lt;BR /&gt;
  run;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
             &lt;BR /&gt;
ods listing;&lt;BR /&gt;
 proc report data=sashelp.shoes(obs=20) nowd;&lt;BR /&gt;
    column ('-Something-' region subsidiary) ('-Something Else-' product sales inventory);&lt;BR /&gt;
 run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
  &lt;BR /&gt;
I think this is close to what you want.&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 21 Mar 2007 19:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2570#M1110</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-03-21T19:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: different justification within in-line formatting</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2571#M1111</link>
      <description>After chatting with the Proc Report developer we found out that if you use two strings in the column statement you will get something that might be what you want.&lt;BR /&gt;
&lt;BR /&gt;
Cynthia's is on one line while this one is on two lines.&lt;BR /&gt;
&lt;BR /&gt;
Let us know!&lt;BR /&gt;
Scott&lt;BR /&gt;
&lt;BR /&gt;
ods pdf file = "test2.pdf";&lt;BR /&gt;
ods escapechar = "^";&lt;BR /&gt;
options orientation=landscape;&lt;BR /&gt;
proc report data=sashelp.class nowd;&lt;BR /&gt;
    col ("^S={just=L}This part left" "^S={just=R}this part right" name sex age height weight);&lt;BR /&gt;
    define name--weight / display;&lt;BR /&gt;
run;&lt;BR /&gt;
ods pdf close;</description>
      <pubDate>Wed, 21 Mar 2007 19:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2571#M1111</guid>
      <dc:creator>ScottH_SAS</dc:creator>
      <dc:date>2007-03-21T19:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: different justification within in-line formatting</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2572#M1112</link>
      <description>Thanks - getting very close here, I think.&lt;BR /&gt;
&lt;BR /&gt;
Cynthia's suggestion does what I'm after, but I'm hoping to apply that second approach (two separate strings enclosed in separate quotes) for some LINEs later in the report.&lt;BR /&gt;
&lt;BR /&gt;
However, the 'just=' in-line style declaration doesn't seem to have any effect.&lt;BR /&gt;
&lt;BR /&gt;
Try putting&lt;BR /&gt;
&lt;BR /&gt;
compute after;&lt;BR /&gt;
  line "^S={just=L}This bit left" "^S={just=R}This bit right";&lt;BR /&gt;
endcomp;&lt;BR /&gt;
&lt;BR /&gt;
in a proc report step... or am I missing something?&lt;BR /&gt;
&lt;BR /&gt;
TF</description>
      <pubDate>Thu, 22 Mar 2007 09:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/different-justification-within-in-line-formatting/m-p/2572#M1112</guid>
      <dc:creator>TreeFrog</dc:creator>
      <dc:date>2007-03-22T09:35:42Z</dc:date>
    </item>
  </channel>
</rss>

