<?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: Read Tab separated file in JMP from server in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Read-Tab-separated-file-in-JMP-from-server/m-p/592464#M79649</link>
    <description>&lt;P&gt;This can be handled easily.&amp;nbsp; The Open() function has many options that allow for the handling of different delimiters, etc.&amp;nbsp; The easiest way to generate the correct code, is to use the Data Previewer and then once the first file is input, it will contain the JSL that can be used for the additional files.&lt;/P&gt;
&lt;P&gt;To do this, first click on&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;File=&amp;gt;Open&lt;/P&gt;
&lt;P&gt;and navigate to the folder where the file you want to input resides.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1674540825606.png" style="width: 699px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49366i7665FD6E8DBE451E/image-dimensions/699x407?v=v2" width="699" height="407" role="button" title="txnelson_0-1674540825606.png" alt="txnelson_0-1674540825606.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click on the down arrow in the box currently displayed as "All JMP Files ........" and select&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1674541003201.png" style="width: 773px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49367iC73FA1E8EF423594/image-dimensions/773x462?v=v2" width="773" height="462" role="button" title="txnelson_1-1674541003201.png" alt="txnelson_1-1674541003201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A new area in the window will be displayed that will allow you to used different approaches to open the files., Click on&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Data (Using Preview)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1674541151291.png" style="width: 784px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49368iD3FAE0FA6FC9A009/image-dimensions/784x555?v=v2" width="784" height="555" role="button" title="txnelson_2-1674541151291.png" alt="txnelson_2-1674541151291.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select the file you want to open and then click Open&lt;/P&gt;
&lt;P&gt;The Preview Window will open&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1674541302354.png" style="width: 501px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49369i53325D885F0B7E93/image-dimensions/501x543?v=v2" width="501" height="543" role="button" title="txnelson_3-1674541302354.png" alt="txnelson_3-1674541302354.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There are different settings you can change on this window, but considering that you specified that you want to use Tabs in addition to Commas, Click on the Delimited fields check box and then check the Tab check box.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_4-1674541467113.png" style="width: 532px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49370i1E4DE3FD272BA5B3/image-dimensions/532x567?v=v2" width="532" height="567" role="button" title="txnelson_4-1674541467113.png" alt="txnelson_4-1674541467113.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A preview of what the different fields will be are displayed in the window.&amp;nbsp; If it is what you want, then click on Next, and when the next window appears, click on Import.&lt;/P&gt;
&lt;P&gt;Your data table will appear.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_5-1674541615077.png" style="width: 559px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49371i85CCECC3D118933B/image-dimensions/559x436?v=v2" width="559" height="436" role="button" title="txnelson_5-1674541615077.png" alt="txnelson_5-1674541615077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now to get a copy of the JSL&amp;nbsp; you can just open the Log window and it will list out the JSL that it used to open the data table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_6-1674541826649.png" style="width: 587px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49372i4611F1485F1A8821/image-dimensions/587x525?v=v2" width="587" height="525" role="button" title="txnelson_6-1674541826649.png" alt="txnelson_6-1674541826649.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The JSL is pretty straight forward.&amp;nbsp; If you cut and paste this JSL into your script, you can then just change the pointer to the file you want to open, and the Import Settings will handle the End of Field options you changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 06:32:47 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-01-24T06:32:47Z</dc:date>
    <item>
      <title>Read Tab separated file in JMP from server</title>
      <link>https://community.jmp.com/t5/Discussions/Read-Tab-separated-file-in-JMP-from-server/m-p/592420#M79648</link>
      <description>&lt;P&gt;how to read a tab-separated file (or any other delimeter&amp;nbsp; ) in JMP.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
dt=Open( 'http://www.&amp;lt;&amp;lt;someDomain&amp;gt;&amp;gt;/tab-separated.csv', text);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the first parameter in the Open function is the URL of the file.&lt;/P&gt;
&lt;P&gt;file contains below sample, column may contains comma&amp;nbsp;separated values that is why delimiter of file is Tab&lt;/P&gt;
&lt;P&gt;column1|column2|column3|column4&lt;/P&gt;
&lt;P&gt;1 | 2 | abc,xyz | 3 | 4|&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:41:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Read-Tab-separated-file-in-JMP-from-server/m-p/592420#M79648</guid>
      <dc:creator>ProbitMonster53</dc:creator>
      <dc:date>2023-06-08T16:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Read Tab separated file in JMP from server</title>
      <link>https://community.jmp.com/t5/Discussions/Read-Tab-separated-file-in-JMP-from-server/m-p/592464#M79649</link>
      <description>&lt;P&gt;This can be handled easily.&amp;nbsp; The Open() function has many options that allow for the handling of different delimiters, etc.&amp;nbsp; The easiest way to generate the correct code, is to use the Data Previewer and then once the first file is input, it will contain the JSL that can be used for the additional files.&lt;/P&gt;
&lt;P&gt;To do this, first click on&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;File=&amp;gt;Open&lt;/P&gt;
&lt;P&gt;and navigate to the folder where the file you want to input resides.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1674540825606.png" style="width: 699px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49366i7665FD6E8DBE451E/image-dimensions/699x407?v=v2" width="699" height="407" role="button" title="txnelson_0-1674540825606.png" alt="txnelson_0-1674540825606.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click on the down arrow in the box currently displayed as "All JMP Files ........" and select&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1674541003201.png" style="width: 773px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49367iC73FA1E8EF423594/image-dimensions/773x462?v=v2" width="773" height="462" role="button" title="txnelson_1-1674541003201.png" alt="txnelson_1-1674541003201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A new area in the window will be displayed that will allow you to used different approaches to open the files., Click on&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Data (Using Preview)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1674541151291.png" style="width: 784px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49368iD3FAE0FA6FC9A009/image-dimensions/784x555?v=v2" width="784" height="555" role="button" title="txnelson_2-1674541151291.png" alt="txnelson_2-1674541151291.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select the file you want to open and then click Open&lt;/P&gt;
&lt;P&gt;The Preview Window will open&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1674541302354.png" style="width: 501px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49369i53325D885F0B7E93/image-dimensions/501x543?v=v2" width="501" height="543" role="button" title="txnelson_3-1674541302354.png" alt="txnelson_3-1674541302354.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There are different settings you can change on this window, but considering that you specified that you want to use Tabs in addition to Commas, Click on the Delimited fields check box and then check the Tab check box.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_4-1674541467113.png" style="width: 532px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49370i1E4DE3FD272BA5B3/image-dimensions/532x567?v=v2" width="532" height="567" role="button" title="txnelson_4-1674541467113.png" alt="txnelson_4-1674541467113.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A preview of what the different fields will be are displayed in the window.&amp;nbsp; If it is what you want, then click on Next, and when the next window appears, click on Import.&lt;/P&gt;
&lt;P&gt;Your data table will appear.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_5-1674541615077.png" style="width: 559px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49371i85CCECC3D118933B/image-dimensions/559x436?v=v2" width="559" height="436" role="button" title="txnelson_5-1674541615077.png" alt="txnelson_5-1674541615077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now to get a copy of the JSL&amp;nbsp; you can just open the Log window and it will list out the JSL that it used to open the data table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_6-1674541826649.png" style="width: 587px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49372i4611F1485F1A8821/image-dimensions/587x525?v=v2" width="587" height="525" role="button" title="txnelson_6-1674541826649.png" alt="txnelson_6-1674541826649.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The JSL is pretty straight forward.&amp;nbsp; If you cut and paste this JSL into your script, you can then just change the pointer to the file you want to open, and the Import Settings will handle the End of Field options you changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 06:32:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Read-Tab-separated-file-in-JMP-from-server/m-p/592464#M79649</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-01-24T06:32:47Z</dc:date>
    </item>
  </channel>
</rss>

