<?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 do I create another group of columns in JSL scripting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/470166#M71430</link>
    <description>&lt;P&gt;Thank you for the explanation.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 06:52:24 GMT</pubDate>
    <dc:creator>WebDesignesCrow</dc:creator>
    <dc:date>2022-03-16T06:52:24Z</dc:date>
    <item>
      <title>How do I create another group of columns in JSL scripting</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469437#M71329</link>
      <description>&lt;P&gt;I want to group 30 columns of my data table into 2 group columns.&lt;/P&gt;
&lt;P&gt;My script as below;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; group columns( "SeahawkDefects", :FBMissing Bond :: :SBBall Accuracy );

Current Data Table () &amp;lt;&amp;lt; group columns( "TTDefects", :NU-No Unit :: :MP-Missing Phosphor );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I able to create the 1st group column (FBMissing Bond until SBBall Accuracy). But, when I use similar script to create the 2nd group (NU-No Unit until MP-Missing Phosphor) column, JMP error prompted Name Unresolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is that so? What should I do to create the 2nd group column? (I'm using JMP 15)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WebDesignesCrow_0-1647237260152.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40784i076B9C32ED48712A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WebDesignesCrow_0-1647237260152.png" alt="WebDesignesCrow_0-1647237260152.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:13:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469437#M71329</guid>
      <dc:creator>WebDesignesCrow</dc:creator>
      <dc:date>2023-06-09T18:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create another group of columns in JSL scripting</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469458#M71331</link>
      <description>&lt;P&gt;I'm not sure why the error prompted. But I created the 2nd group columns manually and view the table script.&lt;/P&gt;
&lt;P&gt;When i changed the script like below, it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; group columns( "SeahawkDefects", :FBMissing Bond :: :SBBall Accuracy );
dt &amp;lt;&amp;lt; group columns( :Name( "NU-No Unit" ), 15 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Mar 2022 07:23:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469458#M71331</guid>
      <dc:creator>WebDesignesCrow</dc:creator>
      <dc:date>2022-03-14T07:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create another group of columns in JSL scripting</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469461#M71334</link>
      <description>&lt;P&gt;The typical issue when you get errors like the one you got is that what you are thinking the "Current Data Table" is and what JMP thinks the "Current Data Table" is, is different.&amp;nbsp; It is always a better coding practice to make absolute references to the data table you want to point to.&lt;/P&gt;
&lt;P&gt;Therefore,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; group columns( :Name( "NU-No Unit" ), 15 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is a better coding technique than&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current data table() &amp;lt;&amp;lt; group columns( :Name( "NU-No Unit" ), 15 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Mar 2022 07:23:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469461#M71334</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-03-14T07:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create another group of columns in JSL scripting</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469635#M71356</link>
      <description>&lt;P&gt;The issue is that the columns&amp;nbsp;&lt;SPAN&gt;NU-No Unit and MP-Missing Phosphor have a minus sign in them that JMP is trying to interpret.&amp;nbsp; Hence you need to use the construct&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; group columns( "TTDefects", :name("NU-No Unit") :: :name("MP-Missing Phosphor") );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Mar 2022 19:24:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/469635#M71356</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2022-03-14T19:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create another group of columns in JSL scripting</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/470166#M71430</link>
      <description>&lt;P&gt;Thank you for the explanation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 06:52:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-another-group-of-columns-in-JSL-scripting/m-p/470166#M71430</guid>
      <dc:creator>WebDesignesCrow</dc:creator>
      <dc:date>2022-03-16T06:52:24Z</dc:date>
    </item>
  </channel>
</rss>

