<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Data Step issue that is killing me in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169256#M32451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I'm right, you are not pulling in claim_id into the miami_claims table.&amp;nbsp; You have select * in your connection but I do not see claim_id in your native select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;create table work.miami_claims as select * from connection to odbc &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2014 16:58:32 GMT</pubDate>
    <dc:creator>jwillis</dc:creator>
    <dc:date>2014-04-04T16:58:32Z</dc:date>
    <item>
      <title>Data Step issue that is killing me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169255#M32450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one of those errors that I should be easily able to figure out, but for some reason my brain just isn't working today. &lt;/P&gt;&lt;P&gt;Can one of you please help me find the problem with the second data step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI -&amp;nbsp; I am using a format statement without setting any formats. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The purpose of this is to put the fields in the order I want to view them within the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is working for all of the fields that I rename except one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached pdf for details.&lt;/P&gt;&lt;P&gt;Thanks SO MUCH and TGIF!&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 16:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169255#M32450</guid>
      <dc:creator>Barb_RK_Smith</dc:creator>
      <dc:date>2014-04-04T16:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step issue that is killing me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169256#M32451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I'm right, you are not pulling in claim_id into the miami_claims table.&amp;nbsp; You have select * in your connection but I do not see claim_id in your native select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;create table work.miami_claims as select * from connection to odbc &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 16:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169256#M32451</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-04-04T16:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step issue that is killing me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169257#M32452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting a little bit confused, possible has the language processor also got confused ion the same way.&lt;/P&gt;&lt;P&gt;The rename of variables is done at the output (data) not at the input (set) statement.&lt;/P&gt;&lt;P&gt;The format off all variables is done with the naming of the output but defined at the PDV&amp;nbsp; processing.&lt;/P&gt;&lt;P&gt;The processing (claimadj&amp;nbsp;&amp;nbsp; CLM_NUM) is done of the input dataset but the warning is coming from the to be renamed one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169257#M32452</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-04-04T17:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step issue that is killing me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169258#M32453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left"&gt; &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"claim_id&lt;/STRONG&gt; ln_num" be "claim_num ln_num"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169258#M32453</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-04-04T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step issue that is killing me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169259#M32454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can save yourself some typing time by letting SQL align and rename your variables.&amp;nbsp; Instead of writing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt;"&gt;create table work.miami_claims as select * from connection to odbc " &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;you can write&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;create table work.miami_claims as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;select fromvar1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as myfirstreorderedrenamedvar,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fromvar2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as mysecondreorderedrenamedvar,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; etc...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as etcreorderedrenamedvar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;from connection to odbc &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &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>Fri, 04 Apr 2014 17:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169259#M32454</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-04-04T17:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step issue that is killing me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169260#M32455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could also place the code below in your sql statement to replace what you are creating in your datastep:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compress(trim(CLM_NUM)||'|'||trim(put(ln_num,4.))||'|'||put(pd_dt,mmddyy6.)||'|'730! ||trim(put(ELGBL_CHRG_AMT,20.2)),' '); as claimadj&amp;nbsp; length=200&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-issue-that-is-killing-me/m-p/169260#M32455</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-04-04T17:56:59Z</dc:date>
    </item>
  </channel>
</rss>

