<?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: Column (i) &amp;lt;&amp;lt; Data Type(Numeric) returns error message in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810311#M99260</link>
    <description>&lt;P&gt;My misread of the issue......response deleted&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2024 17:24:59 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-11-11T17:24:59Z</dc:date>
    <item>
      <title>Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810293#M99256</link>
      <description>&lt;P&gt;For years, I have a script that I use about 1x a week. Strangely enough, today, it suddenly returned an error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Argument to Type in access or evaluation of ‘Data Type’, Data Type Numeric ) /*###*/&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For(i = 18, i &amp;lt; 103, i = i + 2,
	Column(i) &amp;lt;&amp;lt; Data Type(Numeric)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think it's just last week that I've updated to JMP v17.2. Is there a change in the new version? Needless to say, that in the original columns, there could be characters present (such as&amp;nbsp; "n/a" etc). But that was always the case - and that's why I need to convert format to numeric.&lt;/P&gt;
&lt;P&gt;Thanks for advise&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 15:05:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810293#M99256</guid>
      <dc:creator>Monomorphist</dc:creator>
      <dc:date>2024-11-11T15:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810310#M99259</link>
      <description>&lt;P&gt;I don't remember there being such issues, but I cannot access JMP17.2 currently. This script does work in JMP18.1 though&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

open("$SAMPLE_DATA/Big Class.jmp");

For(i = 1, i &amp;lt;= N Cols(dt), i++,
	Column(i) &amp;lt;&amp;lt; Data Type(Numeric);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1731337168276.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70045i6764160BFADD0A5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1731337168276.png" alt="jthi_0-1731337168276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Based on Scripting Index the argument should be a string (&amp;lt;&amp;lt; Data Type("Numeric") but it seems to work fine (and JMP uses non-string versions when it generates the script with &amp;lt;&amp;lt; set data type).&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 15:06:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810310#M99259</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-11T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810311#M99260</link>
      <description>&lt;P&gt;My misread of the issue......response deleted&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 17:24:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810311#M99260</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-11-11T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810313#M99262</link>
      <description>&lt;P&gt;Since when? Runs for years with () ! By the way, I've tried other scripts with the same arguments. They all stop and give me error message now. Tens of scripts that worked for years!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 15:23:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810313#M99262</guid>
      <dc:creator>Monomorphist</dc:creator>
      <dc:date>2024-11-11T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810316#M99264</link>
      <description>&lt;P&gt;Tried as string ("numeric") - no success. Same error message. By the way, this isn't the only script that fails at this command line, others do, too, since the update.&lt;/P&gt;&lt;P&gt;Where do you get 18.1? I've checked for update last week (because of one of my others threads that got suddenly popular, and 18.1 was recommended), but only got 17.2 (and tells me that I have the latest version). And now my scripts don't work anymore....!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 15:32:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810316#M99264</guid>
      <dc:creator>Monomorphist</dc:creator>
      <dc:date>2024-11-11T15:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810317#M99265</link>
      <description>&lt;P&gt;This example works in 17.2.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 15:36:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810317#M99265</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-11T15:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810320#M99267</link>
      <description>&lt;P&gt;I still have access to 17.2.&amp;nbsp; I created a test table and executed your exact script on it.&amp;nbsp; It worked without error, changing every other column to numeric and replacing the "hi" string with a missing value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandFSLR_0-1731339752384.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70046i31CBA820B7F0D1AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1731339752384.png" alt="mmarchandFSLR_0-1731339752384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 15:43:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810320#M99267</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-11T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810326#M99271</link>
      <description>&lt;P&gt;This is utterly bizarre. Would you be willing to try the script in the attached? It doesn't work in my version (but should, in my eyes?!?)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 16:10:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810326#M99271</guid>
      <dc:creator>Monomorphist</dc:creator>
      <dc:date>2024-11-11T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810328#M99272</link>
      <description>&lt;P&gt;Strange, indeed.&amp;nbsp; I ran the script on the test table using JMP 17.2.0 and had no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandFSLR_0-1731341773930.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70048i6E9C8C524AEAF4A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1731341773930.png" alt="mmarchandFSLR_0-1731341773930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 16:18:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810328#M99272</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-11T16:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810331#M99273</link>
      <description>&lt;P&gt;Ok. This means it isn't a matter of the script, nor the table, nor the software version. Conflicts somewhere else, deep inside.....&lt;/P&gt;&lt;P&gt;Well, at least I found V18 in my software depot. Will try new install, then.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 16:36:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810331#M99273</guid>
      <dc:creator>Monomorphist</dc:creator>
      <dc:date>2024-11-11T16:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810342#M99280</link>
      <description>&lt;P&gt;Maybe ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1731349420859.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70053iE33D3819798A7A7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1731349420859.png" alt="hogi_1-1731349420859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but this should be solved by using "numeric" as an argument.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 18:24:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/810342#M99280</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-11-11T18:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/811073#M99302</link>
      <description>&lt;P&gt;Good point. I do, of course, have the clear globals and Names default to here commands in the beginning of the script, plus: it worked for years without any issue until suddenly. But with JMP, who knows? I had weirdo behavior of JMP before: eg, a script spits the dummy, when triggered by the green triangle, but works fine when opened (edit command), and then run. Nobody at JMP could ever give me a sensible answer.&lt;/P&gt;&lt;P&gt;Well, yesterday I uninstalled v17.2 and installed the new v18.1. Everything works fine again! No changes made to any of the scripts. Who knows where JMP looks things up, sometimes, that it gets itself so mingled up?!?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 09:38:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/811073#M99302</guid>
      <dc:creator>Monomorphist</dc:creator>
      <dc:date>2024-11-12T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Column (i) &lt;&lt; Data Type(Numeric) returns error message</title>
      <link>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/811102#M99303</link>
      <description>&lt;P&gt;&lt;SPAN&gt;By the way ...&amp;nbsp; the best approach is to install JMP18 in addition to JMP17.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Most things got better - but some featured got removed.&lt;BR /&gt;And if you find a bug, it's a good approach to double-check with JMP17 - is it a typo in the code - or a change of the program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like with the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;"numeric" - s&lt;/FONT&gt;till hard to believe that it did fail. Curious to see if it also fails after starting JMP (17) again.&lt;/P&gt;&lt;P&gt;What could be the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the other problem, a &lt;FONT face="courier new,courier"&gt;wait(0)&lt;/FONT&gt; might fix the issue.&lt;BR /&gt;&lt;BR /&gt;Does the script contain a &lt;FONT face="courier new,courier"&gt;dt = current data table();&lt;/FONT&gt; ?&lt;BR /&gt;Then try to place the &lt;FONT face="courier new,courier"&gt;wait(0)&lt;/FONT&gt; in front of it.&lt;/P&gt;&lt;P&gt;Otherwise, just place the &lt;FONT face="courier new,courier"&gt;wait(0)&lt;/FONT&gt; just after the &lt;FONT face="courier new,courier"&gt;names default to here(1); &lt;/FONT&gt;and check if this fixes the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 22:44:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-i-lt-lt-Data-Type-Numeric-returns-error-message/m-p/811102#M99303</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-03T22:44:09Z</dc:date>
    </item>
  </channel>
</rss>

