<?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: help with :ERROR: Expression using equals (=) has components that are of different data types. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185690#M265578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run a proc contents on both your data sets (Client_Report1, Client_Report2) and look at what types (numeric/character) are for the variable Status. Are they the same or different?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 19:10:31 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-01-15T19:10:31Z</dc:date>
    <item>
      <title>help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185683#M265571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sql;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;create table work.test as &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select a.Client_id, a.Client_name, a.Score, a.Status,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.Client_id, b.Client_name, b.Score, b.Status,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (a.score-b.score) as Score_diff,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;case when a.status=b.status then 'match' else 'no match' end as Status_test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from Client_Report2 a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;left join Client_Report1 b on a.Client_id=b.Client_id;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Status data type is mixed : numeric value, string,&lt;/P&gt;&lt;P&gt;Status field has :&lt;/P&gt;&lt;P&gt;50&lt;/P&gt;&lt;P&gt;&amp;gt;60&lt;/P&gt;&lt;P&gt;more than a year&lt;/P&gt;&lt;P&gt;8%&lt;/P&gt;&lt;P&gt;3y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i run the code in bold i get this error: &lt;STRONG&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185683#M265571</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T18:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185684#M265572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need the equal two sides to have compatible data type, you can use &lt;STRONG&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000199354.htm"&gt;PUT&lt;/A&gt; &lt;/STRONG&gt;to convert to character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:35:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185684#M265572</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2015-01-15T18:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185685#M265573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do u mean by "equal two sides"?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185685#M265573</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185686#M265574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the = signs are where you are comparing variables from one table with variables from the other table.&lt;/P&gt;&lt;P&gt;For at least one of those the one table has the variable a numeric and the other has it as character.&lt;/P&gt;&lt;P&gt;It probably is best to find out why and fix the tables.&lt;/P&gt;&lt;P&gt;If you cannot do this then you can convert the numeric variable value to character string using put() function.&amp;nbsp; For example put(a.status,1.).&amp;nbsp; Or if the character values are valid numbers you can use the INPUT() function to convert them to a number. Example input(b.status,1.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:51:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185686#M265574</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-01-15T18:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185687#M265575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two places where your code uses an equal sign:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.status=b.status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.Client_id=b.Client_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of these has a "type mismatch".&amp;nbsp; That means the variable you are processing is character in one incoming data set and numeric in the other incoming data set.&amp;nbsp; Once you discover which variable is causing the problem, we can talk about solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185687#M265575</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-01-15T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185688#M265576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select put(a.status,1.), put(b.status,1.)&lt;/STRONG&gt;&amp;nbsp; or in the case when statement&amp;nbsp; i get this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Numeric format F in PUT function requires a numeric argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Numeric format F in PUT function requires a numeric argument.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;any idea?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:02:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185688#M265576</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185689#M265577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the variable Status is the one causing the problem because it has mixed values such as :&lt;/P&gt;&lt;P&gt;50&lt;/P&gt;&lt;P&gt;&amp;gt;60&lt;/P&gt;&lt;P&gt;more than a year&lt;/P&gt;&lt;P&gt;8%&lt;/P&gt;&lt;P&gt;3y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185689#M265577</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185690#M265578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run a proc contents on both your data sets (Client_Report1, Client_Report2) and look at what types (numeric/character) are for the variable Status. Are they the same or different?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185690#M265578</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-15T19:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185691#M265579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;both reports show Status as CHAR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185691#M265579</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185692#M265580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And Client_ID?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185692#M265580</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-15T19:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185693#M265581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12.7272720336914px; font-family: inherit;"&gt;&lt;STRONG&gt;from a.Client_Report2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12.7272720336914px; font-family: inherit;"&gt;&lt;STRONG&gt;left join b.Client_Report1 on a.Client_id=b.Client_id;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Is a and b refer to libref or you mean alias and your data set is in work ?&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;try&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12.7272720336914px; font-family: inherit;"&gt;&lt;STRONG&gt;from Client_Report2 a&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12.7272720336914px; font-family: inherit;"&gt;&lt;STRONG&gt;left join Client_Report1 b on (a.Client_id=b.Client_id);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185693#M265581</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2015-01-15T19:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185694#M265582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it shows:&lt;/P&gt;&lt;P&gt; Client_id: Num&lt;/P&gt;&lt;P&gt;Client_name: CHAR&lt;/P&gt;&lt;P&gt;Score: Num&lt;/P&gt;&lt;P&gt;Status: CHAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185694#M265582</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185695#M265583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry mistype&lt;/P&gt;&lt;P&gt;i did in my code as you mentioned above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185695#M265583</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185696#M265584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me just confirm here.&amp;nbsp; Are you saying all of these are true:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.Client_ID is numeric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.Client_ID is numeric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.status is character&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.status is character&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you are still getting that error message?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185696#M265584</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-01-15T19:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185697#M265585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's only one data set, what about the second data set. Can you post the actual proc contents output please? As well as the log that shows the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185697#M265585</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-15T19:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185698#M265586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that s correct!&lt;/P&gt;&lt;P&gt;do you think the error has something to do with the fact that the same variable(Status) has mismatch type like this? :&lt;/P&gt;&lt;P&gt;50&lt;/P&gt;&lt;P&gt;&amp;gt;60&lt;/P&gt;&lt;P&gt;more than a year&lt;/P&gt;&lt;P&gt;8%&lt;/P&gt;&lt;P&gt;3y&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185698#M265586</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185699#M265587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the file u are requesting is huge. To simplify that s what &lt;STRONG&gt;proc content&lt;/STRONG&gt; show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client_Report1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEN&amp;nbsp;&amp;nbsp;&amp;nbsp; FORMAT&amp;nbsp;&amp;nbsp;&amp;nbsp; INFORMAT&amp;nbsp;&amp;nbsp;&amp;nbsp; LABEL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Client_id:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $6&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; $6&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; imdb id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Client_name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client name&lt;/P&gt;&lt;P&gt;Score:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num&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; 8&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Score&lt;/P&gt;&lt;P&gt;Status:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client_Report2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&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;&amp;nbsp; &lt;STRONG&gt;TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEN&amp;nbsp;&amp;nbsp;&amp;nbsp; FORMAT&amp;nbsp;&amp;nbsp;&amp;nbsp; INFORMAT&amp;nbsp;&amp;nbsp;&amp;nbsp; LABEL&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Client_id:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $6&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; $6&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; imdb id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Client_name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client name&lt;/P&gt;&lt;P&gt;Score:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num&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; 8&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Score&lt;/P&gt;&lt;P&gt;Status:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $128&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real time 0.04 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185699#M265587</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185700#M265588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have&lt;/P&gt;&lt;P&gt;(a.score-b.scorre)&lt;/P&gt;&lt;P&gt;but the variable should be b.score in the original post. Was this retyped or actual copy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:06:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185700#M265588</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-15T20:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185701#M265589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Armand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely not a result of a mix of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;50&lt;/P&gt;&lt;P&gt;&amp;gt;60&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's perfectly OK to store "50" as the value of a character field.&amp;nbsp; The field is still character, no matter what characters it contains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one piece of your output that is decidedly weird is the PROC CONTENTS results for Client_ID.&amp;nbsp; It is not possible to have a numeric variable with a format/informat of $6.&amp;nbsp; Numeric formats/informats should not have a dollar sign.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:08:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185701#M265589</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-01-15T20:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: help with :ERROR: Expression using equals (=) has components that are of different data types.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185702#M265590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;typo error, it&amp;nbsp; should be&amp;nbsp; &lt;STRONG&gt;b.score&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-ERROR-Expression-using-equals-has-components-that-are/m-p/185702#M265590</guid>
      <dc:creator>Armand</dc:creator>
      <dc:date>2015-01-15T20:35:25Z</dc:date>
    </item>
  </channel>
</rss>

