<?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 Methods for compressing a CSV or TSV file with jmp compression to save as .jmp table without having to open the csv in JSL first? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Methods-for-compressing-a-CSV-or-TSV-file-with-jmp-compression/m-p/556364#M77031</link>
    <description>&lt;P&gt;I have access to both JMP12 and JMP14, so a solution for either would work. What I am trying to achieve is saving very large text files (csv,tab,tsv,etc.) with JMP compression such that I get a compressed .jmp file as the result. By large I mean 2-6gb files. Currently I use something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;MyDataFile = open(filename,Private);
MyDataFile &amp;lt;&amp;lt; Compress File When Saved;
MyDataFile &amp;lt;&amp;lt; save(filetosave);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This does work but has a very high memory demand since I have to open the file first. I have also tried using gzip compression on the text files when they are generated and then using GZIPUnCompress() in JMP14 and opening the file. I have not been able to figure out a way to open an externally gzipped file directly without having to unzip it, but I am under the impression that the compression jmp uses is also gz, so I am hoping there is a better way to handle this, such that I could either compress the files in jmp format more efficiently or ideally open a .csv.gz, .tsv.gz, .tab.gz etc. file type in JMP through a JSL code.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:00:17 GMT</pubDate>
    <dc:creator>CurbStegosaurus</dc:creator>
    <dc:date>2023-06-09T16:00:17Z</dc:date>
    <item>
      <title>Methods for compressing a CSV or TSV file with jmp compression to save as .jmp table without having to open the csv in JSL first?</title>
      <link>https://community.jmp.com/t5/Discussions/Methods-for-compressing-a-CSV-or-TSV-file-with-jmp-compression/m-p/556364#M77031</link>
      <description>&lt;P&gt;I have access to both JMP12 and JMP14, so a solution for either would work. What I am trying to achieve is saving very large text files (csv,tab,tsv,etc.) with JMP compression such that I get a compressed .jmp file as the result. By large I mean 2-6gb files. Currently I use something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;MyDataFile = open(filename,Private);
MyDataFile &amp;lt;&amp;lt; Compress File When Saved;
MyDataFile &amp;lt;&amp;lt; save(filetosave);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This does work but has a very high memory demand since I have to open the file first. I have also tried using gzip compression on the text files when they are generated and then using GZIPUnCompress() in JMP14 and opening the file. I have not been able to figure out a way to open an externally gzipped file directly without having to unzip it, but I am under the impression that the compression jmp uses is also gz, so I am hoping there is a better way to handle this, such that I could either compress the files in jmp format more efficiently or ideally open a .csv.gz, .tsv.gz, .tab.gz etc. file type in JMP through a JSL code.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:00:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Methods-for-compressing-a-CSV-or-TSV-file-with-jmp-compression/m-p/556364#M77031</guid>
      <dc:creator>CurbStegosaurus</dc:creator>
      <dc:date>2023-06-09T16:00:17Z</dc:date>
    </item>
  </channel>
</rss>

