<?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: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211552#M267423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what's your question? How to interpret the question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 19:19:55 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-06-22T19:19:55Z</dc:date>
    <item>
      <title>Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211551#M267422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Calibri;"&gt;Hello this is my 2nd/4 questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Calibri;"&gt;I am trying to understand the named question above. I am posting it below for convenience:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;STRONG&gt;Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;STRONG style="color: black; font-family: Calibri;"&gt;&lt;BR /&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-family: Calibri; color: black;"&gt;I am expected to format my answers by including the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-family: Calibri; color: black;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Calibri; color: black;"&gt;a) find out, for each issue, between 3 and 5 interesting documentation sources (eg SAS User's manuals, SAS course notes, archives of the SAS-L list, forums like SAS communities, SUGI papers, blogs on SAS, courses offered on university sites,...) explaining how to deal efficiently with this issue&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-family: Calibri; color: black;"&gt;b) for each issue, give all the possible answers, explaining their relative characteristics and advantages, indicating the sources where the information was found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Calibri;"&gt;c) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: black;"&gt;for each issue, the final synthesis should be very clear, proofread and potentially useful for people looking for explanations about the way to deal with the data management issues at stake, using SAS. It implies that, for each issue, the assignment should start with a brief explanation of what the issue is, then explain how to deal with this issue, and end with at least two short examples (easy to understand and to replicate) with comments between /* */.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt;I appreciate comprehensive help, as these answers will enable better understanding and better performance on my upcoming exam.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue';"&gt;Kind regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 18:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211551#M267422</guid>
      <dc:creator>rbs_LISER</dc:creator>
      <dc:date>2015-06-22T18:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211552#M267423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what's your question? How to interpret the question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211552#M267423</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-06-22T19:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211553#M267424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Renaming your variables are necessary when the variables will be used in a data step merge and will be the variables being merged on in the BY statement.&amp;nbsp; Otherwise, you'll have to use a SQL Procedure to merge the two data sets (doesn't require the variable being merged on to have same name).&amp;nbsp; You can rename the variable(s) in your merge statement of the data step merge by using the (rename=(newvar=oldvar)).&amp;nbsp; Data step merges require that the variables you are merging the two data sets on have the same format and name and are sorted by that variable before merging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;merge have1 (rename=(empid=ID))&lt;/P&gt;&lt;P&gt;have2;&lt;/P&gt;&lt;P&gt;by ID;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211553#M267424</guid>
      <dc:creator>dcruik</dc:creator>
      <dc:date>2015-06-22T19:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211554#M267425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again, Reeza. Yes, how to interpret the question and how to best and most efficiently perform the task, including the "when is it necessary" part of the question. If you have an interesting sources for answers to questions like the ones I have posted, that too would be very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:30:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211554#M267425</guid>
      <dc:creator>rbs_LISER</dc:creator>
      <dc:date>2015-06-22T19:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211555#M267426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you dcruik. I appreciate this very much. Where can I look for more examples? For example, like an annotated output? Or syntax with comments explaining the steps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211555#M267426</guid>
      <dc:creator>rbs_LISER</dc:creator>
      <dc:date>2015-06-22T19:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211556#M267427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shelley- I think this is the second message you have copied- I am confused! Is there a better way I should address Reeze?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211556#M267427</guid>
      <dc:creator>rbs_LISER</dc:creator>
      <dc:date>2015-06-22T19:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211557#M267428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you're doing everything correctly. Because there are multiple questions and replies, I am moderating them as they come in. Things may look a little out of whack until everything gets approved for posting. Just keep going, we'll get your questions/replies out as quickly as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shelley&lt;/P&gt;&lt;P&gt;SAS Online Community Manager&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211557#M267428</guid>
      <dc:creator>ShelleySessoms</dc:creator>
      <dc:date>2015-06-22T19:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211558#M267429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would highly recommend getting onto the SAS Support website and looking around there for a lot of good syntax and examples of questions you may have, as they have a great support website that I use often when researching issues and techniques to use (I would just use the search bar at the following website and there are tons of documentation with syntax and examples explainig different procedures and techniques): &lt;A href="https://support.sas.com/"&gt;https://support.sas.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many times just googling issues and different thins in SAS will take you to the support.sas.com URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be a useful source for your data merging and introducing how to use it and the basics:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001304305.htm"&gt;http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001304305.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211558#M267429</guid>
      <dc:creator>dcruik</dc:creator>
      <dc:date>2015-06-22T19:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211559#M267430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search LexJansen.com - there a many many papers on most of these topics with various solutions but you'll have to aggregate them together to get what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 20:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211559#M267430</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-06-22T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211560#M267431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 20:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211560#M267431</guid>
      <dc:creator>rbs_LISER</dc:creator>
      <dc:date>2015-06-22T20:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming (in SAS) some variables of 2 datasets before horizontally merging them. When is it necessary? How to do that within the merging data step itself?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211561#M267432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 20:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Renaming-in-SAS-some-variables-of-2-datasets-before-horizontally/m-p/211561#M267432</guid>
      <dc:creator>rbs_LISER</dc:creator>
      <dc:date>2015-06-22T20:14:55Z</dc:date>
    </item>
  </channel>
</rss>

