<?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: Calling Standardize Attributes function on multiple Columns in Scripting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237697#M46944</link>
    <description>&lt;P&gt;Please see Help &amp;gt; Books &amp;gt; Scripting Guide. There are chapters devoted to scripting data column objects. You will need to identify the column attributes that you want to change or set and then find the message that accomplishes the task. For example, I can change the format of the numeric data:&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 );

// get example for the data table
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

// change the format attribute
:height &amp;lt;&amp;lt; Format( "Fixed Dec", 8, 3 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 06 Dec 2019 18:42:35 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2019-12-06T18:42:35Z</dc:date>
    <item>
      <title>Calling Standardize Attributes function on multiple Columns in Scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237517#M46901</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to be able to call Standardize Attributes on multiple columns in JSL scripting.&lt;/P&gt;&lt;P&gt;I tried searching but failed to find a function that would allow me to apply standardize attributes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a side note, if the above function exists, how can I retrieve a list of selected columns from a table. This would allow me to select the columns and then run the script to change Type from Character to Numerical Continuous for example.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 22:39:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237517#M46901</guid>
      <dc:creator>akuznetsovaapl</dc:creator>
      <dc:date>2019-12-05T22:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Standardize Attributes function on multiple Columns in Scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237538#M46903</link>
      <description>&lt;P&gt;I am not aware of a Standardize Attributes function in JSL.&amp;nbsp; I assume that because it is so simple to loop through a list of column to apply the same attribute, that it doesn't make sense to have a stand alone function.&lt;/P&gt;
&lt;P&gt;To get a list of selected column just use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt &amp;lt;&amp;lt; Go To( :weight );
names = dt &amp;lt;&amp;lt; Get Selected Columns;
Show( names );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above example is taken directly from the Get Selected Columns entry from the Scripting Index.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 04:00:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237538#M46903</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-12-06T04:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Standardize Attributes function on multiple Columns in Scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237683#M46941</link>
      <description>&lt;P&gt;I'm new and don't know where to look to change column attributes, can you please show me how/where?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:15:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237683#M46941</guid>
      <dc:creator>akuznetsovaapl</dc:creator>
      <dc:date>2019-12-06T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Standardize Attributes function on multiple Columns in Scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237697#M46944</link>
      <description>&lt;P&gt;Please see Help &amp;gt; Books &amp;gt; Scripting Guide. There are chapters devoted to scripting data column objects. You will need to identify the column attributes that you want to change or set and then find the message that accomplishes the task. For example, I can change the format of the numeric data:&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 );

// get example for the data table
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

// change the format attribute
:height &amp;lt;&amp;lt; Format( "Fixed Dec", 8, 3 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:42:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calling-Standardize-Attributes-function-on-multiple-Columns-in/m-p/237697#M46944</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-12-06T18:42:35Z</dc:date>
    </item>
  </channel>
</rss>

