<?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 JSL to export Process Screening Detail Table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-to-export-Process-Screening-Detail-Table/m-p/390606#M64074</link>
    <description>&lt;P&gt;New JMP user here -- I would like to use JSL to save the output of a Process Screening analysis -- in particular, the Details Table. If I run the Process Screening analysis, a summary report pops up, and I've figured out how to save that. But from that report, I can click the red triangle and then "Save Details Table" to get much more granular information. I would like to save that table to a csv as well, but the "Copy session Script" option doesn't seem to work -- it gives the hardcoded data, not applicable to a new data file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like something like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("C:\Program Files\SAS\JMP\16\Samples\Data\Consumer Prices.jmp", window bounds(-1781, -373, -974, 135));

scr = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables( :Price ),
	Grouping( :Series ),
	Control Chart Type( "Indiv and MR" ),
	Time( :Date )
);

// Save the process screening summary as .csv
dt2 = Report(scr)[TableBox(2)] &amp;lt;&amp;lt; makeDataTable;
dt2 &amp;lt;&amp;lt; save( "C:\Users\myname\Downloads\test.txt" )&lt;BR /&gt;&lt;BR /&gt;
//&amp;nbsp;&amp;lt;Script to also&amp;nbsp;save&amp;nbsp;the&amp;nbsp;process&amp;nbsp;screening&amp;nbsp;details&amp;nbsp;table&amp;nbsp;as&amp;nbsp;a&amp;nbsp;csv&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:31:11 GMT</pubDate>
    <dc:creator>eri</dc:creator>
    <dc:date>2023-06-10T23:31:11Z</dc:date>
    <item>
      <title>JSL to export Process Screening Detail Table</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-export-Process-Screening-Detail-Table/m-p/390606#M64074</link>
      <description>&lt;P&gt;New JMP user here -- I would like to use JSL to save the output of a Process Screening analysis -- in particular, the Details Table. If I run the Process Screening analysis, a summary report pops up, and I've figured out how to save that. But from that report, I can click the red triangle and then "Save Details Table" to get much more granular information. I would like to save that table to a csv as well, but the "Copy session Script" option doesn't seem to work -- it gives the hardcoded data, not applicable to a new data file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like something like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("C:\Program Files\SAS\JMP\16\Samples\Data\Consumer Prices.jmp", window bounds(-1781, -373, -974, 135));

scr = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables( :Price ),
	Grouping( :Series ),
	Control Chart Type( "Indiv and MR" ),
	Time( :Date )
);

// Save the process screening summary as .csv
dt2 = Report(scr)[TableBox(2)] &amp;lt;&amp;lt; makeDataTable;
dt2 &amp;lt;&amp;lt; save( "C:\Users\myname\Downloads\test.txt" )&lt;BR /&gt;&lt;BR /&gt;
//&amp;nbsp;&amp;lt;Script to also&amp;nbsp;save&amp;nbsp;the&amp;nbsp;process&amp;nbsp;screening&amp;nbsp;details&amp;nbsp;table&amp;nbsp;as&amp;nbsp;a&amp;nbsp;csv&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:31:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-export-Process-Screening-Detail-Table/m-p/390606#M64074</guid>
      <dc:creator>eri</dc:creator>
      <dc:date>2023-06-10T23:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to export Process Screening Detail Table</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-export-Process-Screening-Detail-Table/m-p/390658#M64081</link>
      <description>&lt;P&gt;Take a look at Scripting Index (found from JMP Help menu) and search for Save Details Table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1622836851703.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/33280i23F9C9ABBBB154C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1622836851703.png" alt="jthi_0-1622836851703.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can get reference of the Details table by changing the last line to:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt_details = obj &amp;lt;&amp;lt; Save Details Table;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and you should be able to save by using that reference&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 20:04:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-export-Process-Screening-Detail-Table/m-p/390658#M64081</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-06-04T20:04:38Z</dc:date>
    </item>
  </channel>
</rss>

