<?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 assign a data table reference to table opened by jmpquery? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562566#M77556</link>
    <description>&lt;P&gt;Is there a way in JSL to assign a table created from a jmpquery execution?&lt;/P&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtBigClass = open("BigClass.jmp");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I would like to assign "dtBigClass" to a jmpquery that I just executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:01:27 GMT</pubDate>
    <dc:creator>JohnDMoore1</dc:creator>
    <dc:date>2023-06-09T16:01:27Z</dc:date>
    <item>
      <title>How to assign a data table reference to table opened by jmpquery?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562566#M77556</link>
      <description>&lt;P&gt;Is there a way in JSL to assign a table created from a jmpquery execution?&lt;/P&gt;&lt;P&gt;Instead of:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtBigClass = open("BigClass.jmp");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I would like to assign "dtBigClass" to a jmpquery that I just executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:01:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562566#M77556</guid>
      <dc:creator>JohnDMoore1</dc:creator>
      <dc:date>2023-06-09T16:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign a data table reference to table opened by jmpquery?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562628#M77569</link>
      <description>&lt;P&gt;have you tried dt = bla bla bla where bla bla bla is the query ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New SQL Query(
	Version( 130 ),
	Connection( "JMP" ),
	JMP Tables(
		["Montgomery battery life ANOVA example" =&amp;gt;
		"\C:\Users\Pega-MAC\Downloads\Montgomery battery life ANOVA example.jmp"]
	),
	QueryName( "SQLQuery1" ),
	Select(
		Column( "Material type", "t1", Analysis Type( "Nominal" ) ),
		Column( "Temperature", "t1", Analysis Type( "Nominal" ) ),
		Column( "Life (in hours)", "t1" )
	),
	From( Table( "Montgomery battery life ANOVA example", Alias( "t1" ) ) )
) &amp;lt;&amp;lt; Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where New SQL Query ... was gotten from the source script attached to the output data table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 19:11:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562628#M77569</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2022-10-31T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign a data table reference to table opened by jmpquery?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562747#M77578</link>
      <description>&lt;P&gt;If you want to use the Query Builder, use the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt1 = Open("file1.jmp");
dt2 = Open("file2.jmp");

dtQuery =  dt1 &amp;lt;&amp;lt; JMP Query Builder();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can now work with both table.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:16:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-assign-a-data-table-reference-to-table-opened-by-jmpquery/m-p/562747#M77578</guid>
      <dc:creator>Mauro_Gerber</dc:creator>
      <dc:date>2022-11-01T07:16:52Z</dc:date>
    </item>
  </channel>
</rss>

