<?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: what is wrong with the program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608525#M177112</link>
    <description>&lt;P&gt;Merge cannot be used as the name of the dataset since it is restricted keyword.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data &lt;STRIKE&gt;&lt;FONT color="#FF0000"&gt;merge;&lt;/FONT&gt;&lt;/STRIKE&gt;
merge two one;
by lab grp;
run;&lt;/PRE&gt;</description>
    <pubDate>Sun, 01 Dec 2019 01:11:40 GMT</pubDate>
    <dc:creator>r_behata</dc:creator>
    <dc:date>2019-12-01T01:11:40Z</dc:date>
    <item>
      <title>what is wrong with the program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608478#M177098</link>
      <description>&lt;P&gt;Hi community, I'm not sure how to answer this question. Your help is much appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What, if anything, is wrong with the following programs? An ellipsis (...) indicates proportions of a statement that are not germane to the exercise.&lt;/P&gt;
&lt;PRE&gt;data one; infile...;
length type 2;
input lab grp m1-m50;
run;

data two; infile...;
input lab grp type mx1-mx10;
run;

data merge;
merge two one;
by lab grp;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 19:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608478#M177098</guid>
      <dc:creator>Amy0223</dc:creator>
      <dc:date>2019-11-30T19:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with the program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608481#M177099</link>
      <description>&lt;P&gt;are 'one' and 'two' sorted by lab and grp? i.e.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=one; by lab grp; run;
proc sort data=two; by lab grp; run;

*merge after here ...;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If this is not the issue, please include the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-unison&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 20:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608481#M177099</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2019-11-30T20:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with the program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608483#M177101</link>
      <description>&lt;P&gt;In the first step, variable type is defined but stays uninitialized. The length as such (2) is only valid on z/OS.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 20:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608483#M177101</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-30T20:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with the program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608505#M177107</link>
      <description>&lt;P&gt;Thank you for your help! Should we put length statement in data two instead of data one because the type variable is not in data one?&lt;/P&gt;
&lt;PRE&gt;length type $2;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 22:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608505#M177107</guid>
      <dc:creator>Amy0223</dc:creator>
      <dc:date>2019-11-30T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with the program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608515#M177109</link>
      <description>&lt;P&gt;Only code statements if there is a reason for them...&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 23:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608515#M177109</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-30T23:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with the program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608525#M177112</link>
      <description>&lt;P&gt;Merge cannot be used as the name of the dataset since it is restricted keyword.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data &lt;STRIKE&gt;&lt;FONT color="#FF0000"&gt;merge;&lt;/FONT&gt;&lt;/STRIKE&gt;
merge two one;
by lab grp;
run;&lt;/PRE&gt;</description>
      <pubDate>Sun, 01 Dec 2019 01:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-wrong-with-the-program/m-p/608525#M177112</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-12-01T01:11:40Z</dc:date>
    </item>
  </channel>
</rss>

