<?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 to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884257#M104807</link>
    <description>&lt;P&gt;Use Manage Limits with spec table (the table Jim's script creates) to add column properties to your table created from tabulate&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1752044913122.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77957iD9EE1AF831BD4FAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1752044913122.png" alt="jthi_0-1752044913122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jul 2025 07:08:57 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-07-09T07:08:57Z</dc:date>
    <item>
      <title>How to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884209#M104802</link>
      <description />
      <pubDate>Tue, 08 Jul 2025 23:42:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884209#M104802</guid>
      <dc:creator>PieFerret952</dc:creator>
      <dc:date>2025-07-08T23:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884226#M104804</link>
      <description>&lt;P&gt;Here is an example of how I would do it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

// Get all numeric columns
allNums = dt &amp;lt;&amp;lt; get column names(numeric);
obj = dt &amp;lt;&amp;lt; Manage Limits( process variables(eval(allNums)), invisible );
obj &amp;lt;&amp;lt; Save to Tall Limits Table;
wait(0);
obj &amp;lt;&amp;lt; close window;
limitdt = current data table();

limitdt &amp;lt;&amp;lt; select where(isMissing(:LSL)&amp;amp;isMissing(:USL)&amp;amp;isMissing(:Target));
limitdt &amp;lt;&amp;lt; delete rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jul 2025 03:02:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884226#M104804</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-07-09T03:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884246#M104806</link>
      <description>&lt;P&gt;Thanks Jim!&lt;BR /&gt;&lt;BR /&gt;Another question,&lt;/P&gt;
&lt;P&gt;how can I merge the limits data table generated to the tabulated statistics?&lt;BR /&gt;&lt;BR /&gt;here's the script for tabulated stats:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

allNums = dt &amp;lt;&amp;lt; get column names( Numeric );

// Generate the mean/std table
 tab = dt &amp;lt;&amp;lt; (Tabulate(
		Show Control Panel (1),
		Add Table(
		Column Table( Statistics( N) ),
		Column Table( Statistics( Mean ) ),
		Column Table( Statistics( Std Dev ) ),
		Column Table( Statistics( Min ) ),
		Column Table( Statistics( Max ) ),
		Row Table( Analysis Columns( Eval( allNums ) ) )
	), 
		Local Data Filter(
			Add Filter(
				columns (:HBIN), Where( :HBIN == 1 ),
				display (:HBIN)
			)
		)
));

	
tab &amp;lt;&amp;lt; Make Into Data Table;
tab &amp;lt;&amp;lt; close window;
SumDT = Current Data Table();
SumDT &amp;lt;&amp;lt; set name( "Summary Data" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to merge the limits and stats into 1 table so I can add the CPK as well&lt;BR /&gt;Output should look like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77958i63B9FA153DBF90B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 07:32:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884246#M104806</guid>
      <dc:creator>PieFerret952</dc:creator>
      <dc:date>2025-07-09T07:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884257#M104807</link>
      <description>&lt;P&gt;Use Manage Limits with spec table (the table Jim's script creates) to add column properties to your table created from tabulate&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1752044913122.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77957iD9EE1AF831BD4FAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1752044913122.png" alt="jthi_0-1752044913122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 07:08:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884257#M104807</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-07-09T07:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884258#M104808</link>
      <description>&lt;P&gt;And if you wish to have separate columns for LSL/USL instead of column properties, you can just update/join the spec table to your tabulated table.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 07:26:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884258#M104808</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-07-09T07:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the LSL, USL and Units of all columns (with spec limits data only) into a Data Table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884309#M104816</link>
      <description>&lt;P&gt;All you have to do is to Join the data tables by the column named Variable in the Limits data table to the column named Analysis Columns in the Tabulate data table.&amp;nbsp; If you first do this interactively using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tables=&amp;gt;Join&lt;/P&gt;
&lt;P&gt;the JSL used to do the joining will be displayed in the log.&amp;nbsp; Or you can look in the source table variable in the newly created joined data table and it will have the script there too.&lt;/P&gt;
&lt;P&gt;Here is an example from the Scripting Index using JSL to join 2 tables&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Trial1.jmp" );
dt2 = Open( "$SAMPLE_DATA/Little.jmp" );
dt &amp;lt;&amp;lt; Join(
	With( Data Table( "Little" ) ),
	Select( :popcorn, :oil amt, :batch, :yield ),
	SelectWith( :yield ),
	By Matching Columns( :popcorn = :popcorn, :batch = :batch, :oil amt = :oil )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jul 2025 10:29:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-export-the-LSL-USL-and-Units-of-all-columns-with-spec/m-p/884309#M104816</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-07-09T10:29:34Z</dc:date>
    </item>
  </channel>
</rss>

