<?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>Dsrountree Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>Dsrountree Tracker</description>
    <pubDate>Sun, 17 May 2026 20:35:46 GMT</pubDate>
    <dc:date>2026-05-17T20:35:46Z</dc:date>
    <item>
      <title>Re: FULLNAME to FIRST NAME; LAST NAME (via Contact Name or Business Contact)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397406#M278235</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;- Your suggestion seems more logical, but I never used countw in a data set.&lt;/P&gt;
&lt;P&gt;Can you write a mock example of how it would parse the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John A Smith&lt;/P&gt;
&lt;P&gt;John Smith&lt;/P&gt;
&lt;P&gt;New York Times&lt;/P&gt;
&lt;P&gt;Flex Gym&lt;/P&gt;
&lt;P&gt;ABC Constructions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A contact (user) will either be two syllables (John Smith) or two syllables with a middle initial (John A Smith)&lt;/P&gt;
&lt;P&gt;A Company/Business will show up as:&lt;/P&gt;
&lt;P&gt;Two syllable - (Flex Gym, ABC Constructions), or three syllable (New York Times)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One parsed into these multiple sets it will have to be reviewed manually to validate where the mixture/blend of two syllable contact and company business took place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I forsee this (hot mess) mixing items like Flex Gym and John Smith in the same column due to using a scan/countw.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 12:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397406#M278235</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-20T12:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: FULLNAME to FIRST NAME; LAST NAME (via Contact Name or Business Contact)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397288#M278234</link>
      <description>This data is a hot mess...The problem with scan is a company can also be in the column and be 3 syllables.&lt;BR /&gt;Ex:ACME Marketing Company</description>
      <pubDate>Tue, 19 Sep 2017 23:05:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397288#M278234</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-19T23:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: FULLNAME to FIRST NAME; LAST NAME (via Contact Name or Business Contact)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397249#M278231</link>
      <description>&lt;P&gt;can you write out the data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 20:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397249#M278231</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-19T20:01:01Z</dc:date>
    </item>
    <item>
      <title>FULLNAME to FIRST NAME; LAST NAME (via Contact Name or Business Contact)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397239#M278229</link>
      <description>&lt;P&gt;input fullname indicator;&lt;BR /&gt;datalines;&lt;BR /&gt;LEX HIBEAULT NM&lt;BR /&gt;LEX V TEORGE NM&lt;BR /&gt;AEX-SUT ENERGY CO&lt;/P&gt;
&lt;P&gt;BOBBY N MAJUK CO&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I need to parse the following data and indicator = NM put scan 1 into first name and scan 2 into last name.&lt;/P&gt;
&lt;P&gt;The problem is when a middle initial appears. &amp;nbsp;I dont want to put V into last name.&lt;/P&gt;
&lt;P&gt;It should put Teorge into last name and ignore the V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also Bobby N Majuk should be parsed as Bobby first name and Majuk last name. &amp;nbsp;Even when the indicator is CO&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to write a data set with if then based on evaluating the full name to see if a character after the first scan was = 1, then treat it as first name last name and move each section from full name to first name then last name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Had no luck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 19:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FULLNAME-to-FIRST-NAME-LAST-NAME-via-Contact-Name-or-Business/m-p/397239#M278229</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-19T19:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Like Values and Assigning them to a DATASET</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-Like-Values-and-Assigning-them-to-a-DATASET/m-p/395145#M95239</link>
      <description>&lt;P&gt;Nicely done....&lt;/P&gt;
&lt;P&gt;But quick question on data _NULL_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have several other columns,&lt;/P&gt;
&lt;P&gt;IE: First Name, Last Name, Address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will that information also carry over to table A, B, C?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-Like-Values-and-Assigning-them-to-a-DATASET/m-p/395145#M95239</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-12T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Like Values and Assigning them to a DATASET</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-Like-Values-and-Assigning-them-to-a-DATASET/m-p/395107#M95230</link>
      <description>&lt;P&gt;If I was only looking at a distinct value like zipcode then I could use code like that.&lt;/P&gt;
&lt;P&gt;The problem is I need to evalute the value based on a given position and separate accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions...&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:59:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-Like-Values-and-Assigning-them-to-a-DATASET/m-p/395107#M95230</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-12T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Finding Like Values and Assigning them to a DATASET</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-Like-Values-and-Assigning-them-to-a-DATASET/m-p/395082#M95224</link>
      <description>&lt;P&gt;What is the easiest way to parse a data set and create multiple data sets based on a given value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Let’s use telephone numbers and look for all values found in PHONENUMBER beginning with&lt;/P&gt;
&lt;P&gt;631 and put them in data set A&lt;/P&gt;
&lt;P&gt;516 and put them in data set B&lt;/P&gt;
&lt;P&gt;212 and put them in data set C&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;631 555 5555&lt;/P&gt;
&lt;P&gt;631 666 6666&lt;/P&gt;
&lt;P&gt;516 999 9999&lt;/P&gt;
&lt;P&gt;516 888 8888&lt;/P&gt;
&lt;P&gt;212 444 4444&lt;/P&gt;
&lt;P&gt;212 444 5555&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Problem:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You don’t know the first 3 values – If I did – I would write a substring/do loop to read the first 3 of the field “PHONENUMBER” and tell it to read through the table and when it finds a matching value “substr (phonenumber,1,3) write it out to the associated table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What function would you use to search the field PHONENUMBER and look for all like values from a specific position and place those values in a separate data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is &lt;STRONG&gt;without&lt;/STRONG&gt; defining the values to look for since the list of area codes is quite large.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All help is greatly appreciated – I haven’t been in the SAS world for over 2 years so I’m a little rusty – Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-Like-Values-and-Assigning-them-to-a-DATASET/m-p/395082#M95224</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2017-09-12T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Proc Transpose - Removing dupes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Removing-dupes/m-p/169038#M32417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;The following data was transposed:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1661px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" width="89"&gt;PBP_Number&lt;/TD&gt;&lt;TD width="52"&gt;CategoryCode&lt;/TD&gt;&lt;TD width="204"&gt;CategoryDescription&lt;/TD&gt;&lt;TD width="375"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Benefit&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="139"&gt;sentences_sort_order&lt;/TD&gt;&lt;TD width="102"&gt;Star_Rating&lt;/TD&gt;&lt;TD width="70"&gt;Enrollment&lt;/TD&gt;&lt;TD width="31"&gt;indx&lt;/TD&gt;&lt;TD width="535"&gt;idlabel&lt;/TD&gt;&lt;TD width="64"&gt;Taborder&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Cleaning (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;623&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX19-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Cleaning (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;623&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Cleaning (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;623&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Cleaning (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;623&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Dental x-ray(s) (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;656&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;6&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Dental x-ray(s) (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;656&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;6&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Dental x-ray(s) (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;656&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Dental x-ray(s) (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;656&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Oral exam (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;722&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Oral exam (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;722&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Oral exam (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;722&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Oral exam (for up to 1 every six months): You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;722&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Preventive dental services:&lt;/TD&gt;&lt;TD align="right"&gt;622&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Preventive dental services:&lt;/TD&gt;&lt;TD align="right"&gt;622&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Preventive dental services:&lt;/TD&gt;&lt;TD align="right"&gt;622&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;TD&gt;Dental Services&lt;/TD&gt;&lt;TD&gt;Preventive dental services:&lt;/TD&gt;&lt;TD align="right"&gt;622&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes monitoring supplies: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;802&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes monitoring supplies: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;802&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes monitoring supplies: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;802&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes monitoring supplies: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;802&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes self-management training: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;834&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes self-management training: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;834&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes self-management training: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;834&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Diabetes self-management training: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;834&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Therapeutic shoes or inserts: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;866&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;6&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Therapeutic shoes or inserts: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;866&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;424&lt;/TD&gt;&lt;TD align="right"&gt;6&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~424~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Therapeutic shoes or inserts: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;866&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;TD&gt;Diabetes Supplies and Services&lt;/TD&gt;&lt;TD&gt;Therapeutic shoes or inserts: You pay nothing&lt;/TD&gt;&lt;TD align="right"&gt;866&lt;/TD&gt;&lt;TD&gt;3.5 out of 5 stars&lt;/TD&gt;&lt;TD align="right"&gt;12682&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD&gt;2015~Benefit Plan Increased Benefits Plan (HMO)~12682~3.5 out of 5 stars~HXXXXX-019-0&lt;/TD&gt;&lt;TD align="right"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: navy;"&gt;This data contains duplicate values in the &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: #ff0000;"&gt;BENEFIT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: navy;"&gt; column after I’ve indexed the columns to make sure the data is sorted according to sentences_sort_order.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;I need to remove the duplicates much like you do in Excel after the columns are created.&amp;nbsp; Other PBP_Numbers when transposed don’t always contain duplicates in the BENEFIT column.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;TRANSPOSE&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #003366; font-size: 14pt; font-family: 'Arial, Helvetica, sans-serif','serif';"&gt;&lt;STRONG&gt;Benefits Plan&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;_HXXXXX_15 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #003366; font-size: 14pt; font-family: 'Arial, Helvetica, sans-serif','serif';"&gt;&lt;STRONG&gt;Benefits Plan&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;_HXXXXX_15 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;PREFIX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = ID_ ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;BY&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription indx;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; Benefit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; PBP_Number ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;idlabel&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; idlabel;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;REPORT&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #003366; font-size: 14pt; font-family: 'Arial, Helvetica, sans-serif','serif';"&gt;&lt;STRONG&gt;Benefits Plan &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;_HXXXXX_15 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Contract Year~Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: navy; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="padding-bottom: 0px; padding-left: 5.4pt; width: 739px; padding-right: 5.4pt; margin-left: 4.65pt; padding-top: 0px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding-left: 5.4pt; padding-right: 5.4pt; background: #b0b0b0; border: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="color: #003366; font-size: 14pt; font-family: 'Arial, Helvetica, sans-serif','serif';"&gt;&lt;STRONG&gt;Contract Year&lt;BR /&gt;Plan Name&lt;BR /&gt;Current Enrollment&lt;BR /&gt;Star Rating&lt;BR /&gt;Contract Number/PBP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: #b0b0b0; border-top: #f0f0f0 1pt solid; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="color: #003366; font-size: 14pt; font-family: 'Arial, Helvetica, sans-serif','serif';"&gt;&lt;STRONG&gt;2015&lt;BR /&gt;Benefits Plan (HMO)&lt;BR /&gt;424&lt;BR /&gt;3.5 out of 5 stars&lt;BR /&gt;HXXXXX-019-0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="padding-left: 5.4pt; padding-right: 5.4pt; background: #e0e0e0;" width="739"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="12" style="padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Dental Services&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: #f0f0f0 1pt solid; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Preventive dental services:&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Preventive dental services:&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Cleaning (for up to 1 every six months): You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Cleaning (for up to 1 every six months): You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Dental x-ray(s) (for up to 1 every six months): You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Dental x-ray(s) (for up to 1 every six months): You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Oral exam (for up to 1 every six months): You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Oral exam (for up to 1 every six months): You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="padding-left: 5.4pt; padding-right: 5.4pt; background: #e0e0e0;" width="739"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="9" style="padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Diabetes Supplies and Services&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: #f0f0f0 1pt solid; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Diabetes monitoring supplies: You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Diabetes monitoring supplies: You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Diabetes self-management training: You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Diabetes self-management training: You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Therapeutic shoes or inserts: You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial, Helvetica, sans-serif','serif'; color: black; font-size: 12pt;"&gt;Therapeutic shoes or inserts: You pay nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-bottom: #f0f0f0 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: lightgrey; border-top: medium none; border-right: #f0f0f0 1pt solid;" width="369"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know when I added the additional data IE: Star_Rating &amp;amp; Enrollment via a left outer join this created my dups.&lt;/P&gt;&lt;P&gt;The problem is I can't do an inner since I need to make sure all the value(s) found in the left table remain in my extract and only pull a value when it finds a matching PBP_Number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 00:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Transpose-Removing-dupes/m-p/169038#M32417</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-10-02T00:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Macro naming via data set/report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-naming-via-data-set-report/m-p/148740#M29388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading about it via Google - SAS.com - a little above my head but I understand why it's useful. &lt;/P&gt;&lt;P&gt;Since I'm new to this I write the SQL first and test the output to ensure data integrity then if needed create the macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 13:04:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-naming-via-data-set-report/m-p/148740#M29388</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-09-17T13:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro naming via data set/report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-naming-via-data-set-report/m-p/148739#M29387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the prompt reply....&lt;/P&gt;&lt;P&gt;Keep in mind I'm new to SAS - 1.7 years total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is options mlogic mprint symbolgen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 12:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-naming-via-data-set-report/m-p/148739#M29387</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-09-17T12:55:01Z</dc:date>
    </item>
    <item>
      <title>Macro naming via data set/report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-naming-via-data-set-report/m-p/148736#M29384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prior to introducing the macro to this part of the code – each section would create an XML file based on the &lt;STRONG style="background: yellow;"&gt;sheet_name=’&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ‘;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now that I’ve created a macro that reads each data set and performs the function for all eight datasets the naming isn’t working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it’s something simple missing between the ‘&amp;nbsp;&amp;nbsp; ‘ – ex: ‘&amp;amp;&amp;amp;tb4’ right now it writes each tab for the output data as tb4, tb4 2, tb4 3, …… incrementing by 1 after the tb4.&lt;/P&gt;&lt;P&gt;I’m not sure – New Jack SAS Guy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ODS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'/windows/Infodata/DRountree/CAB/2014_2015_Competitive_Analysis_HMO_NYC.xml'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green;"&gt;*** Define macro3 ***;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;%macro&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; macro3(tb4);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;ODS TAGSETS.EXCELXP options(sheet_interval=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'table'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; suppress_bylines=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'yes'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;STRONG style="background: yellow;"&gt;sheet_name= &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: purple; background: yellow; font-family: 'Courier New';"&gt;'&amp;amp;tb4'&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;PROC REPORT DATA = &amp;amp;tb4&amp;nbsp; spanrows nowd split=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;columns CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;Define CategoryCode / order order=internal noprint; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;define CategoryDescription / order &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;define ID_: / display; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;compute after CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;line &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;endcomp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;%mend&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; macro3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green;"&gt;*** Run macro3 ***;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(Aetna_14);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(Empire_BCBS_14);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(Healthfirst_14);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(UH_AARP_14);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(Aetna_15);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(Empire_BCBS_15);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(Healthfirst_15);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;%&lt;STRONG&gt;&lt;EM&gt;macro3&lt;/EM&gt;&lt;/STRONG&gt;(UH_AARP_15);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ODS&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;_ALL_&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;CLOSE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 12:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-naming-via-data-set-report/m-p/148736#M29384</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-09-17T12:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE PROC REPORT OUTPUTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172522#M33154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;I wasn't able to use the #byval function since I removed the BY from my Proc Report.&amp;nbsp; I still need to learn (MACROS) so the redundant code below would be written once and call for each of the DATA= and create the .XML using the correct names from each DATASET.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ODS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; TAGSETS.EXCELXP &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'/windows/Infodata/DRountree/CAB/Competitive_Analysis_HMO_Nassau.xml'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(sheet_interval=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'table'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; suppress_bylines=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'yes'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; sheet_name=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'#byval1'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = Empire_H3370 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = Healthfirst_H3359 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; =&amp;nbsp; HealthPlus_H6181 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = Liberty_H3337 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = VNSNY_H5549 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = WellCare_H3361 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ODS&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;_ALL_&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;CLOSE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 14:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172522#M33154</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-27T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE PROC REPORT OUTPUTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172521#M33153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You two are great - Thanks for all your help and guidance.&lt;/P&gt;&lt;P&gt;Report is about 80% done and once complete I'll look into macro processing to clean up the repetitive section of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who would of thought it was as easy as placing the report code inside the ODS open and close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything I place in between is added to one Excel workbook, so now I'm reading up on naming the tabs based on the datasheet that imported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 12:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172521#M33153</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-27T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE PROC REPORT OUTPUTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172520#M33152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a new jack this is quite the challenge - but I love learning so it's ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I'm done reading up on both suggestions I'll provide an update and close this one out. &lt;/P&gt;&lt;P&gt;Thank you so much data_null and Cynthia...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 16:04:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172520#M33152</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-25T16:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE PROC REPORT OUTPUTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172517#M33149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning data_null;&lt;/P&gt;&lt;P&gt;I created a mock sample of what I'm trying to accomplish and loaded it to Box.com (sharing site) &lt;A href="https://app.box.com/s/mmapprud9sve9v1p77xr"&gt;https://app.box.com/s/mmapprud9sve9v1p77xr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mock up you see on one tab PLAN_A vs. PLAN_B and on the second tab you see PLAN_B vs. PLAN_B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our prior conversation we solved how to take the data and convert it to a point where I can do a side by side comparison of various health plans per category via TRANSPOSE and PROC REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the additional requirement is to build a complex report with the information based on different scenarios:&lt;/P&gt;&lt;P&gt;IE:&amp;nbsp; One XLS might contain all HMO PLANS for Suffolk County and provide a side by side for PLAN_A vs each competitor.&amp;nbsp; These are separated tab by tab,&lt;/P&gt;&lt;P&gt;which means each competitor has one tab to itself per the comparison with PLAN_A (This logic I'm programming and as stated above was normal done by creating a separate&lt;/P&gt;&lt;P&gt;dataset for each compare then exporting to the same XLS but on a different tab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is how do I perform the same task with the output from proc report?&amp;nbsp; I don't mind programming each data set with it's own TRANSPOSE/REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think of all the Health Plans in NY - I'm comparing PLAN_A per each County (which creates a separate XLS for each one, Suffolk, Nassau, etc) and within each XLS are all the competitors for PLAN_A.&amp;nbsp; Each one on it's own tab.&amp;nbsp; PLAN_A vs PLAN_B (tab 1) PLAN_A vs PLAN_C (tab 2), etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at last year report that was created manually it was 10 XLS documents with over 20 tabs in each XLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is why I need to find a way to automate the output from PROC TRANSPOSE / PROC REPORT into multiple XLS on multiple tabs based on the DATASET I define within my PROC SQL to parse the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pheeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwwwwwwwwwwwwwwww &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Arial Narrow','sans-serif'; color: blue; font-size: 10pt;"&gt;Derrick Rountree &lt;/SPAN&gt; &lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-family: 'Arial Narrow','sans-serif'; color: purple; font-size: 10pt;"&gt;│&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Arial Narrow','sans-serif'; color: gray; font-size: 10pt;"&gt;Sr. Business Data Analyst, Medicare Products &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial Narrow','sans-serif'; color: purple; font-size: 10pt;"&gt;│ &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial Narrow','sans-serif'; color: gray; font-size: 10pt;"&gt;Office (646) 447-5992&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 13:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172517#M33149</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-25T13:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE PROC REPORT OUTPUTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172514#M33146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="468858" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You helped me with the first part of this (Proc Transpose &amp;amp; Proc Report)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is I can't use the output generated from Proc Report - since it's not in the same layout as the FINAL ODS excel file created.&lt;/P&gt;&lt;P&gt;I trouble shooted by adding an OUT= to the Proc Report and this was obviously not the correct direction since the output contained_NAME_, etc and it's not in the same layout as the report or the XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to pull you into this mess - Enjoy your weekend&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=Empire_X3370 &lt;SPAN style="color: #0000ff;"&gt;OUT&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=Empire_X3370 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 19:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172514#M33146</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-22T19:20:11Z</dc:date>
    </item>
    <item>
      <title>MULTIPLE PROC REPORT OUTPUTS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172513#M33145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I currently use this process to append multiple datasets to one excel document at any given location:&lt;/P&gt;&lt;P&gt;the two data sets are exported and become two seperate tabs in the &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;folder.CPSC_Enrollment__&amp;amp;dt..xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; pc&amp;nbsp;&amp;nbsp; = NYWSWXXXXXX&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; folder = C:\Users\drountree\;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;dt=put( today( ),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;call&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; symput(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'dt'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;,dt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; Summary_By_Org_HMO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;folder.CPSC_Enrollment__&amp;amp;dt..xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; excelcs&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;sheet&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"Summary_By_Org_HMO"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;SERVER&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;pc"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; Summary_By_Org_PPO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;folder.CPSC_Enrollment__&amp;amp;dt..xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; excelcs&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;sheet&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"Summary_By_Org_PPO"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;SERVER&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;pc"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;Now this is where it gets fun.&amp;nbsp; I understand fully the section above &lt;/SPAN&gt;and I'm able to code multiple datasets&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;meeting various requirements and have them output to various .XLS on different tab&lt;/SPAN&gt;s based on a given criteria.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;MY PROBLEM:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;I need to take a &lt;/SPAN&gt;newly learned process via data_null; (ODS tagsets subset PROC REPORT) and take the output Transposed file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;and export each one to the same xls as above based on a given condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;TRANSPOSE&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=Empire_X3370 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=Empire_X3370 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;PREFIX&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=ID_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;SYSECHO&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"PROC TRANSPOSE DATA=ABRIDGED OUT=ABRIDGED PREFIX=ID_;"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;BY&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription indx;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; Benefit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; PBP_Number;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;idlabel&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; idlabel;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;RUN&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ods&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; tagsets.ExcelXP &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'/windows/Infodata/DRountree/CAB/Empire_X3370.xml'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;REPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=Empire_X3370 &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;nowd&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'~'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode CategoryDescription ID_:;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;noprint&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Plan Name~Current Enrollment~Star Rating~Contract Number/PBP'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; ID_: / &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;display&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; CategoryCode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;endcomp&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ods&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; tagsets.excelxp &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;close&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;The above code creates one data set Empire_X3370 and exports a XML file to the specified location.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;I'm creating several different comparissions and need to export Blue_X5590 to the same file but in a different tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;Keep in mind if this wasn't a PROC REPORT ODS XML output then this would be easy and I could use the first set of code above:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; pc&amp;nbsp;&amp;nbsp; = NYWSWXXXXXX&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; folder = C:\Users\drountree\;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;dt=put( today( ),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;call&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; symput(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'dt'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;,dt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; Empire_X3370&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;folder.CPSC_Enrollment__&amp;amp;dt..xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; excelcs&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;sheet&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"Empire_X3370"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;SERVER&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;pc"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; Blue_X5590&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;folder.CPSC_Enrollment__&amp;amp;dt..xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;dbms&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; excelcs&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;sheet&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"Blue_X5590"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;SERVER&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"&amp;amp;pc"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;The problem is the output from the PROC REPORT...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 17:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MULTIPLE-PROC-REPORT-OUTPUTS/m-p/172513#M33145</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-22T17:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Set Manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Set-Manipulation/m-p/153501#M30131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;How do I get the full number to display in the category Description?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;See longer numbers below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; set1 ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; (CONTRACT_ID PLAN_NAME) (:&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #008080;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffc0; color: #000000;"&gt;R5678-012-01 PLAN_B&lt;BR /&gt;X12345-145-01 PLAN_A&lt;BR /&gt;X5678-888-00 PLAN_B&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; set2 ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; (CONTRACT_ID ENROLLMENT) (:&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #008080;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; :&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #008080;"&gt;F12.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffc0; color: #000000;"&gt;&lt;SPAN style="background-color: #ffffc0; color: #000000;"&gt;R5678-012-01 &lt;/SPAN&gt;112000&lt;BR /&gt;X12345-145-01 111000&lt;BR /&gt;X5678 112000&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; set3 ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; (CONTRACT_ID STAR_RATING) (:&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #008080;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffc0; color: #000000;"&gt;&lt;SPAN style="background-color: #ffffc0; color: #000000;"&gt;R5678-012-01 &lt;/SPAN&gt;3.5 &lt;BR /&gt;X12345-145-01 4&lt;BR /&gt; X5678-888-00 5&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 18:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Set-Manipulation/m-p/153501#M30131</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-21T18:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data Set Manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Set-Manipulation/m-p/153499#M30129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;FYI:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Management loved the first draft (Thanks &lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="1901" data-externalid="" data-presence="null" data-userid="468858" data-username="data_null_%3B" href="https://communities.sas.com/people/data_null_;" id="jive-46885823330525057431186"&gt;data_null_;&lt;/A&gt;&lt;/STRONG&gt; &amp;amp; &lt;A href="mailto:Cynthia@SAS"&gt;Cynthia@SAS&lt;/A&gt;) , &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;but&lt;/STRONG&gt;&lt;/SPAN&gt; I need to make a few additional changes to the output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I had three other data sets that needed to be added to the header (SEE GREEN) portion only of the PROC REPORT:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PLANNAME&amp;nbsp; - DATA SET 1 - I've created a mock of the this data set below&lt;/LI&gt;&lt;LI&gt;STAR RATING&amp;nbsp; - DATA SET 2 - I've created a mock of the this data set below&lt;/LI&gt;&lt;LI&gt;ENROLLMENT - DATA SET 3 - I've created a mock of the this data set below&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can they be added to the top of Report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="DATASET_IMAGE.jpg" class="jive-image-thumbnail jive-image" height="568" src="https://communities.sas.com/legacyfs/online/7071_DATASET_IMAGE.jpg" width="653" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call this trial by fire - Normally this process is done manually and takes 2 weeks to complete with over 100 side by side plan comparisons...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For simplicity the mock data is all CHAR - the numbers will be NUMERIC or CHAR in real data pull:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; set1 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; (CONTRACT_ID PLAN_NAME) (:&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt;X12345 PLAN_A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt;X5678 PLAN_B &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;;;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; set2 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; (CONTRACT_ID ENROLLMENT) (:&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt;X12345 111000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt;X5678 112000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;;;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; set3 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; (CONTRACT_ID STAR_RATING) (:&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;$20.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt;X12345 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: #ffffc0; color: black;"&gt;X5678 5 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;;;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 18:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Set-Manipulation/m-p/153499#M30129</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-13T18:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Set Manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Set-Manipulation/m-p/153496#M30126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the X: value has another variable that starts with an "R" how would you modify the PROC REPORT to handle that condition?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000080;"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #000080;"&gt;&lt;STRONG&gt;report&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;=hippo &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;spanrows&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;nowd&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; CategoryCode CategoryDescription x:;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;Define&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; categoryCode / &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;=internal &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;noprint&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; CategoryDescription / &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;order&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;define&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; x: / &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;display&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;compute&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;after&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt; categorycode;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;line&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #800080;"&gt;' '&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #0000ff;"&gt;endcomp&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000080;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;; &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 19:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Set-Manipulation/m-p/153496#M30126</guid>
      <dc:creator>Dsrountree</dc:creator>
      <dc:date>2014-08-12T19:40:18Z</dc:date>
    </item>
  </channel>
</rss>

