<?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: propcase in proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492723#M21624</link>
    <description>&lt;P&gt;Make a data set from the one you have and apply the propcase function. Use that one for the report.&lt;/P&gt;
&lt;P&gt;If that isn't acceptable then you will have to go back to who ever is wanting the text in propcase and have them update the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also want to check the results. Some things like proper names do not always come out as needed. Smith and Sons as a company name for example would be: Smith And Sons. Names such as MacDonald, O'Hara are also going to be Macdonald and O'hara.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2018 16:35:27 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-09-05T16:35:27Z</dc:date>
    <item>
      <title>propcase in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492715#M21622</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have around 25 datasets ready and from each dataset ,there is one variable which i need to present in Propcase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At moment, I can not update datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any option in proc report for ods tagset excelxp to convert values in propcase ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 15:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492715#M21622</guid>
      <dc:creator>draroda</dc:creator>
      <dc:date>2018-09-05T15:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: propcase in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492723#M21624</link>
      <description>&lt;P&gt;Make a data set from the one you have and apply the propcase function. Use that one for the report.&lt;/P&gt;
&lt;P&gt;If that isn't acceptable then you will have to go back to who ever is wanting the text in propcase and have them update the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also want to check the results. Some things like proper names do not always come out as needed. Smith and Sons as a company name for example would be: Smith And Sons. Names such as MacDonald, O'Hara are also going to be Macdonald and O'hara.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 16:35:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492723#M21624</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-05T16:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: propcase in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492737#M21628</link>
      <description>Create a custom format using a function. An example here with numeric variables but it can be extended to character variables I believe. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Format-a-numeric-WITHOUT-rounding/m-p/492725" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Format-a-numeric-WITHOUT-rounding/m-p/492725&lt;/A&gt;</description>
      <pubDate>Wed, 05 Sep 2018 17:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492737#M21628</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-05T17:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: propcase in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492829#M21629</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Create a custom format using a function. An example here with numeric variables but it can be extended to character variables I believe. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Format-a-numeric-WITHOUT-rounding/m-p/492725" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Format-a-numeric-WITHOUT-rounding/m-p/492725&lt;/A&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes the custom formats with Proc FCMP will work with character values after getting the parameters correct to indicate a character value is passed in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there is still the potential issue with not-quite-as-desired results from propcase. If there are a smallish number of exceptions you could do a Select/when block or a bunch of if/then/else to correct them. But their is still a potential for a lot of fixes needed.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 21:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492829#M21629</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-05T21:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: propcase in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492836#M21630</link>
      <description>&lt;P&gt;Great ideas from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;.&amp;nbsp; I think you could also create DATA step VIEWS (or PROC SQL VIEWS) that pass through the original table records, but add one additional field with the&amp;nbsp;&lt;STRONG&gt;propcase&lt;/STRONG&gt; transformation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Such views might be expensive to access multiple times (as each access will pass through the original data), but as a final step before building a report, it might be okay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data carsReport / view=carsReport;
 set sashelp.cars;
 propModel = propcase(model);
run;

proc print data=carsReport (obs=10);
var make propModel model;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Sep 2018 22:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/propcase-in-proc-report/m-p/492836#M21630</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-09-05T22:34:29Z</dc:date>
    </item>
  </channel>
</rss>

