<?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: Read dataset into PROC IML in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360279#M3502</link>
    <description>&lt;P&gt;The lob is a character and loss numeric.&lt;/P&gt;</description>
    <pubDate>Sun, 21 May 2017 05:53:34 GMT</pubDate>
    <dc:creator>SchalkBurger</dc:creator>
    <dc:date>2017-05-21T05:53:34Z</dc:date>
    <item>
      <title>Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360218#M3500</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to read a dataset with two columns into proc iml, but it only prints one column when I print it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me what I am doing wrong please?&lt;/P&gt;&lt;PRE&gt;proc iml;
        use data.lossdata;
	read all var {lob loss} into A[colname = varNames];
	print A;
quit;&lt;/PRE&gt;</description>
      <pubDate>Sat, 20 May 2017 20:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360218#M3500</guid>
      <dc:creator>SchalkBurger</dc:creator>
      <dc:date>2017-05-20T20:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360268#M3501</link>
      <description>&lt;P&gt;These two variables have the same type ? both are numeric or character ?&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 03:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360268#M3501</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-05-21T03:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360279#M3502</link>
      <description>&lt;P&gt;The lob is a character and loss numeric.&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 05:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360279#M3502</guid>
      <dc:creator>SchalkBurger</dc:creator>
      <dc:date>2017-05-21T05:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360282#M3503</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt; has diagnosed the problem correctly, as matrices are either all character or all numeric.&amp;nbsp; Whenever you run code, it is always good to check the SAS log for messages, as I suspect you have missed a warning message about a type missmatch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check the recent thread on this forum called "Matrix with strings in IML", in particular the link that Rick gives to the Table structure.&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 06:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360282#M3503</guid>
      <dc:creator>IanWakeling</dc:creator>
      <dc:date>2017-05-21T06:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360294#M3504</link>
      <description>&lt;P&gt;You can read the variables into vectors:&lt;/P&gt;
&lt;P&gt;read all var {lob loss};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information about reading numeric and character variables, see&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2012/05/14/how-to-read-data-set-variables-into-sasiml-vectors.html" target="_self"&gt;How to read data set variables into SAS/IML vectors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2012/01/16/reading-all-variables-into-a-matrix.html" target="_blank"&gt;Reading ALL variables INTO a matrix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 10:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360294#M3504</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-05-21T10:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360296#M3505</link>
      <description>&lt;P&gt;Thank you all.&amp;nbsp;&lt;BR /&gt;I appreciate the help.&lt;/P&gt;&lt;P&gt;There is still a lot to learn.&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 11:53:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360296#M3505</guid>
      <dc:creator>SchalkBurger</dc:creator>
      <dc:date>2017-05-21T11:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read dataset into PROC IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360340#M3509</link>
      <description>&lt;P&gt;Yes, there is always more to learn, but to get started you might try some of the tips at &lt;A href="http://blogs.sas.com/content/iml/2014/08/11/ten-tips-for-learning-sasiml.html" target="_self"&gt;"Ten tips for learning the SAS/IML language"&lt;/A&gt;, especially the SAS Global Forum paper&amp;nbsp; &lt;A href="https://support.sas.com/resources/papers/proceedings13/144-2013.pdf" target="_self"&gt;"Getting Started with the SAS/IML Language"&amp;nbsp;(Wicklin 2013)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 23:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Read-dataset-into-PROC-IML/m-p/360340#M3509</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-05-21T23:07:26Z</dc:date>
    </item>
  </channel>
</rss>

