<?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: JSL Scripting Index to add all columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466886#M71068</link>
    <description>&lt;P&gt;Additional idea:&lt;/P&gt;
&lt;P&gt;Leave the select empty and put a null condition on an index etc (a column that must contain values), then you get an empty table with the column names, that you can use to fill in your JSL Query Object with the column names ...&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 );

New SQL Query(
	Version( 130 ),
	Connection( "JMP" ),
	JMP Tables( ["Big Class" =&amp;gt; "$SAMPLE_DATA\Big Class.jmp"] ),
	QueryName( "SQLQuery1" ),
	Select,
	From( Table( "Big Class", Alias( "t1" ) ) ),
	Where( Is Null( Column( "name", "t1" ), UI( NullTest( Base( "Categorical" ) ) ) ) )
) &amp;lt;&amp;lt; Run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 04 Mar 2022 07:37:03 GMT</pubDate>
    <dc:creator>Georg</dc:creator>
    <dc:date>2022-03-04T07:37:03Z</dc:date>
    <item>
      <title>JSL Scripting Index to add all columns</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466676#M71048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does JMP have any syntax or index to add all columns instead of manually typing all the column names?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:12:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466676#M71048</guid>
      <dc:creator>Jackie_</dc:creator>
      <dc:date>2023-06-09T18:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Scripting Index to add all columns</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466885#M71067</link>
      <description>&lt;P&gt;Depends on where you want to go exactly and how to work. The easiest Answer would be to use custom SQL, and SQL has the * to select all columns.&lt;/P&gt;
&lt;P&gt;See example.&lt;/P&gt;
&lt;P&gt;In the Query Builder GUI you have also the Button "Add All".&lt;/P&gt;
&lt;P&gt;...&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 );
Clear Log();

// Query table with filter conditions
dt_filter = New SQL Query(
	Version( 130 ),
	Connection( "JMP" ),
	JMP Tables( ["BigClass" =&amp;gt; "$SAMPLE_DATA\Big Class.jmp"] ),
	QueryName( "SQL_QUERY" ),
	CustomSQL( "SELECT distinct t1.* FROM BigClass  t1 where t1.sex = 'M' and t1.age&amp;lt;=15;" )
) &amp;lt;&amp;lt; Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Mar 2022 07:18:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466885#M71067</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-03-04T07:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Scripting Index to add all columns</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466886#M71068</link>
      <description>&lt;P&gt;Additional idea:&lt;/P&gt;
&lt;P&gt;Leave the select empty and put a null condition on an index etc (a column that must contain values), then you get an empty table with the column names, that you can use to fill in your JSL Query Object with the column names ...&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 );

New SQL Query(
	Version( 130 ),
	Connection( "JMP" ),
	JMP Tables( ["Big Class" =&amp;gt; "$SAMPLE_DATA\Big Class.jmp"] ),
	QueryName( "SQLQuery1" ),
	Select,
	From( Table( "Big Class", Alias( "t1" ) ) ),
	Where( Is Null( Column( "name", "t1" ), UI( NullTest( Base( "Categorical" ) ) ) ) )
) &amp;lt;&amp;lt; Run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Mar 2022 07:37:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Scripting-Index-to-add-all-columns/m-p/466886#M71068</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-03-04T07:37:03Z</dc:date>
    </item>
  </channel>
</rss>

