<?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: How to convert existing dataset into Matrix and access each column/row in PROC IML?! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832426#M329020</link>
    <description>&lt;P&gt;If you don't get better answers by tomorrow, I'd try posting in the IML board:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/bd-p/sas_iml" target="_blank"&gt;https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/bd-p/sas_iml&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2022 01:52:06 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2022-09-09T01:52:06Z</dc:date>
    <item>
      <title>How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832418#M329015</link>
      <description>&lt;P&gt;Say, here is dataset, sashelp.cars.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside PROC IML, How to access it row, sashelp.cars.horsepower; or all row associated with BMW, like R does?!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any learning manual for this?!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 22:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832418#M329015</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-08T22:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832423#M329017</link>
      <description>&lt;P&gt;There is documentation, and there are also papers written by users.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I googled "Introduction to SAS IML" and the first hit was a paper written by the developer of IML, that's probably a good place to start:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings13/144-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/144-2013.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After scanning the paper it was easy to find an example I could adapt:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
varNames = {"Make" "Model"};
use Sashelp.Cars;
read all var varNames into X; /* read data */
idx = loc(X[,1]="BMW"); /* row vector */
print (idx`)[label="Row"] (X[idx,])[c=varNames];
quit ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't know R, so not sure if this is what you were hoping for...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oops, I realized you want to see a numeric variable, subset by a character variable.&amp;nbsp; &amp;nbsp;Apparently an IML matrix can't have a mix of numeric in character vars.&amp;nbsp; But with the help of this blog post (also by Rick):&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2015/05/11/loc-element-trick.html," target="_blank"&gt;https://blogs.sas.com/content/iml/2015/05/11/loc-element-trick.html,&lt;/A&gt;&amp;nbsp;I hacked together:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
use sashelp.Cars;
read all var {"Make"} into M ;&lt;BR /&gt;read all var {"Horsepower"} into H;
Idx = loc(M="BMW");
print (M[Idx,]) (H[Idx,])  ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But fair warning:&amp;nbsp; I don't think today is actually the first time I've written PROC IML code, but it's could be only the second or third time. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 01:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832423#M329017</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-09-09T01:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832424#M329018</link>
      <description>&lt;P&gt;Thanks a huge. Let me read through.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ye, I work with R/Matlab, in which easy to access column/row/element/subset.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 01:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832424#M329018</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-09T01:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832425#M329019</link>
      <description>&lt;P&gt;I'm sure you'll get better answers from someone who actually knows IML. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This also works:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
use sashelp.Cars;
read all var {"Horsepower"} into H;
read all var {"Make"} into M ;
print (H[loc(M="BMW"),])  ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 01:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832425#M329019</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-09-09T01:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832426#M329020</link>
      <description>&lt;P&gt;If you don't get better answers by tomorrow, I'd try posting in the IML board:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/bd-p/sas_iml" target="_blank"&gt;https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/bd-p/sas_iml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 01:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832426#M329020</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-09-09T01:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832435#M329023</link>
      <description>&lt;P&gt;I read the PDF doc, tried out codes and got lots of senses.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STILL, how to get EMA() on one column?!&amp;nbsp; I tried below, got&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: (execution) Matrix has not been set to a value.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And tried to build own function with START/FINISH, still not efficient. Anywhere has the list of functions on&amp;nbsp;&lt;/P&gt;
&lt;P&gt;column/row operation?! THanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
	ind=1:100;
	x1=ind+5*ranuni(i);
	ema1=ema(x1, 0.01);
	create _Matrix_Own_ema var {"ind" "ema1"};   
	append; 
	close  _Matrix_Own_ema;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 06:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832435#M329023</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-09T06:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832436#M329024</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ownema &amp;lt;- function(x,win) {
   alpha &amp;lt;- 2/(win+1)
   filter(x, 1-alpha, method="recursive", side=1, init=x[1]/alpha)*alpha
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;R can use the above at ema. Does SAS/IML has similar?!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 06:57:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832436#M329024</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-09T06:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832459#M329041</link>
      <description>Calling &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832459#M329041</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-09-09T10:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832463#M329044</link>
      <description>Here’s a link to another of Rick’s blog posts:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/02/03/rolling-statistics-sasiml.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2016/02/03/rolling-statistics-sasiml.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:41:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832463#M329044</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-09-09T10:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832466#M329047</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/409584"&gt;@hellohere&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I read the PDF doc, tried out codes and got lots of senses.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STILL, how to get EMA() on one column?!&amp;nbsp; I tried below, got&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: (execution) Matrix has not been set to a value.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please, for this question and all questions from now on, when you get ERRORs or WARNINGS in a PROC or DATA step, show us the &lt;FONT color="#FF0000"&gt;ENTIRE&lt;/FONT&gt; log for that specific PROC or DATA step where you get errors or warnings. Do &lt;FONT color="#FF0000"&gt;not&lt;/FONT&gt; show us tiny parts of the log detached from the code as it appears in the log. Doing this will result in faster and better answers.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 12:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832466#M329047</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-09T12:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832592#M329096</link>
      <description>&lt;P&gt;Thanks all guys. I write own ema function. It is "identical" to the one from Rick's blog; it goes through&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a column-count loop, rather than build-in mech. The computation cost might be same anyhow, but not eff. in coding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc iml;
	start ownema(xema, x, emawt);	
		xema=j(1,ncol(x));
		do i=1 to max(dimension(x));
			if i=1 then do;
				xema[,i]=x[,i];
			end;
			else do;
				xema[,i]=x[,i]*emawt+(1-emawt)*xema[,i-1];
			end;	
		end;
	finish;

	ind=1:100;
	x1=sin(ind);  /*dim=1 100*/
	emawt=0.1;
	
	run ownema(x1ema, x1,emawt);
	create _Matrix_Own_ema var {"ind" "x1" "x1ema"};   
	append; 
	close  _Matrix_Own_ema;
run;quit;

proc sgplot data=_Matrix_Own_ema;
series x=ind y=x1;
series x=ind y=x1ema;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc iml;
use Sashelp.Air;  
   read all var "date" into t;
   read all var "air" into y;
close;
rct=nrow(t);
print rct;
dim=dimension(t);
print dim;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Sep 2022 23:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832592#M329096</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-09T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832593#M329097</link>
      <description>&lt;P&gt;By removing if i=1 in my own func, I bet computation cost is cut off in half.&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 23:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832593#M329097</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-09T23:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832594#M329098</link>
      <description>&lt;P&gt;I try out code from another Rick's blog.&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2022/09/07/test-for-monotone.html" target="_blank"&gt;A test for monotonic sequences and functions - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Somehow, get complains below. Any thoughts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;42601  proc iml;
NOTE: IML Ready
42602  /* Test whether a sequence of elements is monotonic increasing.
42603     Valid options are
42604     strict=0 : (Default) Return 1 if a sequence is nondecreasing
42605     strict=1 : Return 1 if a sequence is strictly increasing
42606  */
42607  start IsIncr(_x, strict=0);
42608     x = colvec(_x);
42609     if nrow(x)=1 then return(1);
42609!                                      /* one element is always monotonic! */
42610     d = dif(x,1,1);
42610!                                      /* lag=1; delete initial missing value */
42611     if strict then
42612        return( all(d &amp;gt; 0) );
42613     return( all(d &amp;gt;= 0) );
42614  finish;
ERROR: Too many arguments for function DIF.
ERROR: Module ISINCR was not defined due to resolution errors.
42615
42616  /* test whether sequences are increasing */
42617  x = {0,2,2,2,6,7,9};
42618  y = {0,1,3,4,6,7,9};
42619  z = {0,1,3,4,2,7,9};
42620  b1 = IsIncr(x);
ERROR: Invocation of unresolved module ISINCR.

 statement : ASSIGN at line 42620 column 1
42620!                     /* test weakly increasing */
42621  b2 = IsIncr(x, 1);
ERROR: Invocation of unresolved module ISINCR.

 statement : ASSIGN at line 42621 column 1
42621!                     /* test strictly increasing */
42622  b3 = IsIncr(y, 1);
ERROR: Invocation of unresolved module ISINCR.

 statement : ASSIGN at line 42622 column 1
42622!                     /* test strictly increasing */
42623  b4 = IsIncr(z);
ERROR: Invocation of unresolved module ISINCR.

 statement : ASSIGN at line 42623 column 1
42623!                     /* test weakly increasing */
42624
42625  print b1 b2 b3 b4;
ERROR: Matrix b1 has not been set to a value.

 statement : PRINT at line 42625 column 1
42626
42627  /* Test whether a sequence of elements is monotonic decreasing.
42628     strict=0 : (Default) Return 1 if a sequence is nonincreasing
42629     strict=1 : Return 1 if a sequence is strictly decreasing
42630  */
42631  start IsDecr(x, strict=0);
42632     return IsIncr(-x, strict);
42633  finish;
NOTE: Module ISDECR defined.
42634
42635  /* test whether sequence is increasing */
42636  u = {9,8,7,7,6,2,0};
42637  b5 = IsDecr(u);
ERROR: Invocation of unresolved module ISINCR.

 statement : RETURN at line 42632 column 4
 traceback : module ISDECR at line 42632 column 4

NOTE: Paused in module ISDECR.
42637!                     /* test weakly decreasing */
42638  b6 = IsDecr(u, 1);
ERROR: Module ISDECR called again before exit from prior call.

 statement : ASSIGN at line 42638 column 1
42638!                     /* test strictly decreasing */
42639  print b5 b6;
ERROR: Matrix b5 has not been set to a value.

 statement : PRINT at line 42639 column 1
42640
42641  start Func1(x);
42642     return (5 - 4*x)#log( x/(1-x) );
42643  finish;
NOTE: Module FUNC1 defined.
42644  start Func2(x);
42645     return (5 - 5.2*x)#log( x/(1-x) );
42646  finish;
NOTE: Module FUNC2 defined.
42647
42648  dt = 0.005;
42649  x = do(dt, 1-dt, dt);
42649!                        /* increasing sequence on a fine grid */
42650  y1 = Func1(x);
42650!                        /* image of sequence under F1 */
42651  y2 = Func2(x);
ERROR: (execution) Invalid argument to function.

 count     : number of occurrences is 7
 operation : LOG at line 42645 column 26
 operands  : _TEM1004

_TEM1004      7 rows      1 col     (numeric)

         0
        -2
        -2
        -2
      -1.2
 -1.166667
    -1.125

 statement : RETURN at line 42645 column 4
 traceback : module FUNC2 at line 42645 column 4

NOTE: Paused in module FUNC2.
42651!                        /* image of sequence under F2 */
42652  b1 = IsIncr(y1);
ERROR: Invocation of unresolved module ISINCR.

 statement : ASSIGN at line 42652 column 1
42653  b2 = IsIncr(y2);
ERROR: Invocation of unresolved module ISINCR.

 statement : ASSIGN at line 42653 column 1
42654  print b1 b2;
ERROR: Matrix b1 has not been set to a value.

 statement : PRINT at line 42654 column 1
42655
42656  run;
NOTE: Module MAIN is undefined in IML; cannot be RUN.
42656!     quit;
NOTE: Exiting IML.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IML used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Sep 2022 23:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832594#M329098</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-09-09T23:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert existing dataset into Matrix and access each column/row in PROC IML?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832681#M329141</link>
      <description>&lt;P&gt;Strange,&amp;nbsp; the code on that post works fine for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With SAS, you always start with the first error you see in the log.&amp;nbsp; In this case:&lt;/P&gt;
&lt;PRE&gt;ERROR: Too many arguments for function DIF.&lt;/PRE&gt;
&lt;P&gt;That error doesn't make sense to me, unless you have created your own DIF function which doesn't take 3 arguments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest starting a fresh session, and submitting only the code from the blog.&amp;nbsp; If you still get errors, I would submit to tech support.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 20:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-existing-dataset-into-Matrix-and-access-each/m-p/832681#M329141</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-09-10T20:11:15Z</dc:date>
    </item>
  </channel>
</rss>

