<?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 how to save .csv and zip/compress the csv file with jsl in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20701#M18824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, all&lt;/P&gt;&lt;P&gt;anyone know how to save .csv and zip/compress the csv file with jsl? Is it possible at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Evan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 13:42:16 GMT</pubDate>
    <dc:creator>robust1972</dc:creator>
    <dc:date>2016-09-28T13:42:16Z</dc:date>
    <item>
      <title>how to save .csv and zip/compress the csv file with jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20701#M18824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, all&lt;/P&gt;&lt;P&gt;anyone know how to save .csv and zip/compress the csv file with jsl? Is it possible at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Evan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 13:42:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20701#M18824</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-09-28T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to save .csv and zip/compress the csv file with jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20702#M18825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;dt = Open( "$sample_data/big class.jmp" );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;dt &amp;lt;&amp;lt; save( "$temp/deleteme.csv" ); // create a temporary CSV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;csvtxt = Load Text File( "$temp/deleteme.csv" ); // and load it as text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;ziparchive = Open( "$temp/deleteme.zip", "zip" ); // open a new or existing ZIP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Show( ziparchive &amp;lt;&amp;lt; dir ); // old members&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;actualname = ziparchive &amp;lt;&amp;lt; Write( "bigclass.csv", csvtxt ); // add new member&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Show( ziparchive &amp;lt;&amp;lt; dir ); // the new name may change if conflict&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;restore = ziparchive &amp;lt;&amp;lt; read( actualname, Format( blob ) ); // read the new member&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;path = Save Text File( "$temp/deleteme2.csv", restore ); // put back on disk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Open( path ); // finish the round-trip by opening&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 15:24:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20702#M18825</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-09-28T15:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to save .csv and zip/compress the csv file with jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20703#M18826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the last two lines can be simplified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;open(restore,"text");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The blob data from the ziparchive object can be opened directly with the "text" argument.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 18:17:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20703#M18826</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-09-28T18:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to save .csv and zip/compress the csv file with jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20704#M18827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More about JMP's zipArchive object: &lt;A href="https://community.jmp.com/blogs/id/1263" target="_blank"&gt;Load Compressed Data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 10:07:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-save-csv-and-zip-compress-the-csv-file-with-jsl/m-p/20704#M18827</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-11-09T10:07:56Z</dc:date>
    </item>
  </channel>
</rss>

