<?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 How to change column data type from Numeric to Character? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12639#M12006</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I have a small problem but it seems that no one in the web have a solution for it, not specifically anyway.&lt;/P&gt;
&lt;P&gt;I'm trying to change column Data Type from Numeric to Character during JSL run,&lt;/P&gt;
&lt;P&gt;Just to be clear - I'm not trying to change Modeling Type - there are a lot of good examples for that in the web.&lt;/P&gt;
&lt;P&gt;I'm trying to change the &lt;STRONG&gt;Data Type&lt;/STRONG&gt; - (it seems no one manage to do yet).&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 30 Sep 2017 20:31:29 GMT</pubDate>
    <dc:creator>ariel</dc:creator>
    <dc:date>2017-09-30T20:31:29Z</dc:date>
    <item>
      <title>How to change column data type from Numeric to Character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12639#M12006</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I have a small problem but it seems that no one in the web have a solution for it, not specifically anyway.&lt;/P&gt;
&lt;P&gt;I'm trying to change column Data Type from Numeric to Character during JSL run,&lt;/P&gt;
&lt;P&gt;Just to be clear - I'm not trying to change Modeling Type - there are a lot of good examples for that in the web.&lt;/P&gt;
&lt;P&gt;I'm trying to change the &lt;STRONG&gt;Data Type&lt;/STRONG&gt; - (it seems no one manage to do yet).&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2017 20:31:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12639#M12006</guid>
      <dc:creator>ariel</dc:creator>
      <dc:date>2017-09-30T20:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column data type from Numeric to Character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12640#M12007</link>
      <description>&lt;P&gt;Go the Scripting Index, select &lt;STRONG&gt;Objects&lt;/STRONG&gt;, and then scroll down to &lt;STRONG&gt;Data Table &amp;gt; Column Scripting&lt;/STRONG&gt;.&amp;nbsp; You'll find the method "&lt;STRONG&gt;Data Type&lt;/STRONG&gt;" with the following example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Wait( 2 );
dt:Age &amp;lt;&amp;lt; Data Type( Character );
dt:Height &amp;lt;&amp;lt; Data Type( Numeric, 2 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 09:36:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12640#M12007</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-08-31T09:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column data type from Numeric to Character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12641#M12008</link>
      <description>&lt;P&gt;Hi, thanks but its not working,&lt;/P&gt;
&lt;P&gt;I want to &lt;STRONG&gt;change&lt;/STRONG&gt; an exiting column -&lt;/P&gt;
&lt;P&gt;according to few guide the commend suppose to look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;column("VALUE") &amp;lt;&amp;lt; Data type( Numeric ) &amp;lt;&amp;lt; Set Data Type ( Character)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but still, non is working....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 09:37:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12641#M12008</guid>
      <dc:creator>ariel</dc:creator>
      <dc:date>2017-08-31T09:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column data type from Numeric to Character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12642#M12009</link>
      <description>&lt;P&gt;Remove "Data type ( Numeric)", and remove the word SET.&amp;nbsp; I would also include a variable that points to your dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;column("VALUE") &amp;lt;&amp;lt; Data Type ( Character);&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;or better yet:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;column(dt, "VALUE") &amp;lt;&amp;lt; Data Type ( Character);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;where &lt;STRONG&gt;dt&lt;/STRONG&gt; points to your data table.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;My original example shortened a bit:&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
column(dt, "Height") &amp;lt;&amp;lt; Data Type( Character );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 09:35:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12642#M12009</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-08-31T09:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column data type from Numeric to Character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12643#M12010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!, It's working!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 15:14:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/12643#M12010</guid>
      <dc:creator>ariel</dc:creator>
      <dc:date>2015-06-07T15:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column data type from Numeric to Character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/33437#M19859</link>
      <description>&lt;P&gt;This OP asked about changing data type using JSL. In case you're looking to do this interactively you can select the column and then choose &lt;A href="http://www.jmp.com/support/help/13/About_the_Column_Info_Window.shtml" target="_self"&gt;Cols -&amp;gt; Column Info...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPScreenSnapz067.png" style="width: 222px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4503iBF23D605FECFD8BE/image-dimensions/222x289?v=v2" width="222" height="289" role="button" title="JMPScreenSnapz067.png" alt="JMPScreenSnapz067.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Then in the Column Info dialog box change the Data Type.&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-left" image-alt="JMPScreenSnapz068.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4504i13309A91FB74E86B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMPScreenSnapz068.png" alt="JMPScreenSnapz068.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 15:26:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-column-data-type-from-Numeric-to-Character/m-p/33437#M19859</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2016-12-09T15:26:16Z</dc:date>
    </item>
  </channel>
</rss>

