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%3EM%C3%A9thodes%20pour%20compresser%20un%20fichier%20CSV%20ou%20TSV%20avec%20la%20compression%20jmp%20pour%20l'enregistrer%20sous%20forme%20de%20table%20.jmp%20sans%20avoir%20%C3%A0%20ouvrir%20d'abord%20le%20csv%20dans%20JSL%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-556364%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EJ'ai%20acc%C3%A8s%20%C3%A0%20la%20fois%20%C3%A0%20JMP12%20et%20JMP14%2C%20donc%20une%20solution%20pour%20l'un%20ou%20l'autre%20fonctionnerait.%20Ce%20que%20j'essaie%20de%20faire%2C%20c'est%20d'enregistrer%20de%20tr%C3%A8s%20gros%20fichiers%20texte%20(csv%2C%20tab%2C%20tsv%2C%20etc.)%20avec%20la%20compression%20JMP%20de%20mani%C3%A8re%20%C3%A0%20obtenir%20un%20fichier%20.jmp%20compress%C3%A9%20comme%20r%C3%A9sultat.%20Par%20gros%2C%20j'entends%20des%20fichiers%20de%202%20%C3%A0%206%20Go.%20Actuellement%2C%20j'utilise%20quelque%20chose%20comme%20%C3%A7a%20%3A%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%3ECela%20fonctionne%20mais%20demande%20beaucoup%20de%20m%C3%A9moire%20car%20je%20dois%20d'abord%20ouvrir%20le%20fichier.%20J'ai%20%C3%A9galement%20essay%C3%A9%20d'utiliser%20la%20compression%20gzip%20sur%20les%20fichiers%20texte%20lorsqu'ils%20sont%20g%C3%A9n%C3%A9r%C3%A9s%2C%20puis%20d'utiliser%20GZIPUnCompress()%20dans%20JMP14%20et%20d'ouvrir%20le%20fichier.%20Je%20n'ai%20pas%20r%C3%A9ussi%20%C3%A0%20trouver%20un%20moyen%20d'ouvrir%20directement%20un%20fichier%20compress%C3%A9%20en%20externe%20sans%20avoir%20%C3%A0%20le%20d%C3%A9compresser%2C%20mais%20j'ai%20l'impression%20que%20la%20compression%20utilis%C3%A9e%20par%20jmp%20est%20%C3%A9galement%20gz%2C%20j'esp%C3%A8re%20donc%20qu'il%20existe%20un%20meilleur%20moyen%20de%20g%C3%A9rer%20cela%2C%20de%20sorte%20que%20je%20puisse%20soit%20compresser%20les%20fichiers%20au%20format%20jmp%20plus%20efficacement%2C%20soit%20id%C3%A9alement%20ouvrir%20un%20type%20de%20fichier%20.csv.gz%2C%20.tsv.gz%2C%20.tab.gz%20etc.%20dans%20JMP%20via%20un%20code%20JSL.%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%3EAcc%C3%A8s%20aux%20donn%C3%A9es%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFen%C3%AAtres%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