<?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 JSL code: convert jmp file to csv file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-code-convert-jmp-file-to-csv-file/m-p/457153#M70238</link>
    <description>&lt;P&gt;Hi, I am trying to convert JMP file into csv file. It converts the file into csv, but I had a doubt. Is there a way to convert two file into two different csv files at once where both the file paths are given. Here is my code where I am able to save dt as csv but I don't know how to save dt1 as csv file :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/big class.jmp");
dt1 = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
current_pref = Char( Arg( Parse( (Char( Get Preferences( Export settings ) )) ), 1 ) );
Pref( Export Settings( End Of Field( Comma ), Export Table Headers( 1 ) ) );
dt &amp;lt;&amp;lt; save( "$Desktop/bigclassdemo.csv" );
Eval( Parse( "pref(" || current_pref || ")" ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:43:32 GMT</pubDate>
    <dc:creator>shasha_2</dc:creator>
    <dc:date>2023-06-10T23:43:32Z</dc:date>
    <item>
      <title>JSL code: convert jmp file to csv file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-code-convert-jmp-file-to-csv-file/m-p/457153#M70238</link>
      <description>&lt;P&gt;Hi, I am trying to convert JMP file into csv file. It converts the file into csv, but I had a doubt. Is there a way to convert two file into two different csv files at once where both the file paths are given. Here is my code where I am able to save dt as csv but I don't know how to save dt1 as csv file :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/big class.jmp");
dt1 = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
current_pref = Char( Arg( Parse( (Char( Get Preferences( Export settings ) )) ), 1 ) );
Pref( Export Settings( End Of Field( Comma ), Export Table Headers( 1 ) ) );
dt &amp;lt;&amp;lt; save( "$Desktop/bigclassdemo.csv" );
Eval( Parse( "pref(" || current_pref || ")" ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:43:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-code-convert-jmp-file-to-csv-file/m-p/457153#M70238</guid>
      <dc:creator>shasha_2</dc:creator>
      <dc:date>2023-06-10T23:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSL code: convert jmp file to csv file</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-code-convert-jmp-file-to-csv-file/m-p/457209#M70239</link>
      <description>&lt;P&gt;Just point to the dt1 data table reference&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/big class.jmp");
dt1 = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
current_pref = Char( Arg( Parse( (Char( Get Preferences( Export settings ) )) ), 1 ) );
Pref( Export Settings( End Of Field( Comma ), Export Table Headers( 1 ) ) );
dt &amp;lt;&amp;lt; save( "$Desktop/bigclassdemo.csv" );
dt1 &amp;lt;&amp;lt; save( "$Desktop/semiconductorcapabilitydemo.csv" );
Eval( Parse( "pref(" || current_pref || ")" ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Jan 2022 14:03:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-code-convert-jmp-file-to-csv-file/m-p/457209#M70239</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-01-31T14:03:12Z</dc:date>
    </item>
  </channel>
</rss>

