cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-556364%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E4%BD%BF%E7%94%A8%20jmp%20%E5%A3%93%E7%B8%AE%E4%BE%86%E5%A3%93%E7%B8%AE%20CSV%20%E6%88%96%20TSV%20%E6%AA%94%E6%A1%88%E4%BB%A5%E5%8F%A6%E5%AD%98%E7%82%BA%20.jmp%20%E8%A1%A8%E8%80%8C%E7%84%A1%E9%9C%80%E5%85%88%E5%9C%A8%20JSL%20%E4%B8%AD%E9%96%8B%E5%95%9F%20csv%20%E7%9A%84%E6%96%B9%E6%B3%95%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-556364%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E6%88%91%E5%8F%AF%E4%BB%A5%E5%AD%98%E5%8F%96%20JMP12%20%E5%92%8C%20JMP14%EF%BC%8C%E5%9B%A0%E6%AD%A4%E4%BB%BB%E4%B8%80%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88%E9%83%BD%E5%8F%AF%E4%BB%A5%E3%80%82%E6%88%91%E6%83%B3%E8%A6%81%E5%AF%A6%E7%8F%BE%E7%9A%84%E6%98%AF%E4%BD%BF%E7%94%A8%20JMP%20%E5%A3%93%E7%B8%AE%E4%BF%9D%E5%AD%98%E9%9D%9E%E5%B8%B8%E5%A4%A7%E7%9A%84%E6%96%87%E5%AD%97%E6%AA%94%E6%A1%88%EF%BC%88csv%E3%80%81tab%E3%80%81tsv%20%E7%AD%89%EF%BC%89%EF%BC%8C%E9%80%99%E6%A8%A3%E6%88%91%E5%B0%B1%E5%8F%AF%E4%BB%A5%E7%8D%B2%E5%BE%97%E5%A3%93%E7%B8%AE%E7%9A%84%20.jmp%20%E6%AA%94%E6%A1%88%E4%BD%9C%E7%82%BA%E7%B5%90%E6%9E%9C%E3%80%82%E6%88%91%E6%8C%87%E7%9A%84%E6%98%AF%202-6GB%20%E7%9A%84%E5%A4%A7%E6%AA%94%E6%A1%88%E3%80%82%E7%9B%AE%E5%89%8D%E6%88%91%E4%BD%BF%E7%94%A8%E9%80%99%E6%A8%A3%E7%9A%84%E6%9D%B1%E8%A5%BF%EF%BC%9A%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EMyDataFile%20%3D%20open(filename%2CPrivate)%3B%0AMyDataFile%20%26lt%3B%26lt%3B%20Compress%20File%20When%20Saved%3B%0AMyDataFile%20%26lt%3B%26lt%3B%20save(filetosave)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E9%80%99%E7%A2%BA%E5%AF%A6%E6%9C%89%E6%95%88%EF%BC%8C%E4%BD%86%E8%A8%98%E6%86%B6%E9%AB%94%E9%9C%80%E6%B1%82%E9%9D%9E%E5%B8%B8%E9%AB%98%EF%BC%8C%E5%9B%A0%E7%82%BA%E6%88%91%E5%BF%85%E9%A0%88%E5%85%88%E9%96%8B%E5%95%9F%E6%AA%94%E6%A1%88%E3%80%82%E6%88%91%E9%82%84%E5%98%97%E8%A9%A6%E5%9C%A8%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97%E6%AA%94%E6%A1%88%E6%99%82%E5%B0%8D%E5%85%B6%E4%BD%BF%E7%94%A8%20gzip%20%E5%A3%93%E7%B8%AE%EF%BC%8C%E7%84%B6%E5%BE%8C%E5%9C%A8%20JMP14%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20GZIPUncompress()%20%E4%B8%A6%E9%96%8B%E5%95%9F%E6%AA%94%E6%A1%88%E3%80%82%E6%88%91%E4%B8%80%E7%9B%B4%E7%84%A1%E6%B3%95%E6%89%BE%E5%88%B0%E4%B8%80%E7%A8%AE%E6%96%B9%E6%B3%95%E4%BE%86%E7%9B%B4%E6%8E%A5%E6%89%93%E9%96%8B%E5%A4%96%E9%83%A8gzip%E5%A3%93%E7%B8%AE%E6%AA%94%E6%A1%88%E8%80%8C%E7%84%A1%E9%9C%80%E8%A7%A3%E5%A3%93%E7%B8%AE%E5%AE%83%EF%BC%8C%E4%BD%86%E6%88%91%E7%9A%84%E5%8D%B0%E5%83%8F%E6%98%AFjmp%E4%BD%BF%E7%94%A8%E7%9A%84%E5%A3%93%E7%B8%AE%E4%B9%9F%E6%98%AFgz%EF%BC%8C%E6%89%80%E4%BB%A5%E6%88%91%E5%B8%8C%E6%9C%9B%E6%9C%89%E6%9B%B4%E5%A5%BD%E7%9A%84%E6%96%B9%E6%B3%95%E4%BE%86%E8%99%95%E7%90%86%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%EF%BC%8C%E9%80%99%E6%A8%A3%E6%88%91%E5%B0%B1%E5%8F%AF%E4%BB%A5%E6%9B%B4%E6%9C%89%E6%95%88%E5%9C%B0%E5%A3%93%E7%B8%AEjmp%20%E6%A0%BC%E5%BC%8F%E7%9A%84%E6%96%87%E4%BB%B6%EF%BC%8C%E6%88%96%E7%90%86%E6%83%B3%E6%83%85%E6%B3%81%E4%B8%8B%E9%80%8F%E9%81%8EJSL%20%E7%A8%8B%E5%BC%8F%E7%A2%BC%E5%9C%A8JMP%20%E4%B8%AD%E9%96%8B%E5%95%9F.csv.gz%E3%80%81.tsv.gz%E3%80%81.tab.gz%20%E7%AD%89%E6%96%87%E4%BB%B6%E9%A1%9E%E5%9E%8B%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-556364%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3E%E8%B3%87%E6%96%99%E5%AD%98%E5%8F%96%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E8%A6%96%E7%AA%97%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar

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?

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:

 

MyDataFile = open(filename,Private);
MyDataFile << Compress File When Saved;
MyDataFile << save(filetosave);

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.

0 REPLIES 0

Recommended Articles