<?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 Re: File name by week in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/File-name-by-week/m-p/764938#M94432</link>
    <description>&lt;P&gt;Convert the week number to string / evaluate it inside a string and use that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

weekstr = "Week" || Char(Week Of Year(Today(), 3));

dt = Open("$SAMPLE_DATA/Big Class.jmp");

savepath = "$TEMP/" || weekstr ||".jmp";
dt &amp;lt;&amp;lt; Save(savepath);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Jun 2024 07:56:39 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-06-12T07:56:39Z</dc:date>
    <item>
      <title>File name by week</title>
      <link>https://community.jmp.com/t5/Discussions/File-name-by-week/m-p/764911#M94430</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Est-il possible d'enregistrer un fichier JMP qui a pour nom la semaine en cours de l'exécution du script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A l'aide d'un script, je construis une table de données JMP, j'aimerais à la fin de l'exécution du script, pouvoir enregistrer le fichier sous le nom suivant "Week24" et la semaine d'après le fichier serait "Week25"....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Merci pour vos réponses.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

//script...
a = Week Of Year( Today(),3 );
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt1 = current data table();

dt1 &amp;lt;&amp;lt; Save As("\file...\a.jmp")&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jun 2024 07:42:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-name-by-week/m-p/764911#M94430</guid>
      <dc:creator>hcarr01</dc:creator>
      <dc:date>2024-06-12T07:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: File name by week</title>
      <link>https://community.jmp.com/t5/Discussions/File-name-by-week/m-p/764938#M94432</link>
      <description>&lt;P&gt;Convert the week number to string / evaluate it inside a string and use that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

weekstr = "Week" || Char(Week Of Year(Today(), 3));

dt = Open("$SAMPLE_DATA/Big Class.jmp");

savepath = "$TEMP/" || weekstr ||".jmp";
dt &amp;lt;&amp;lt; Save(savepath);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jun 2024 07:56:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-name-by-week/m-p/764938#M94432</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-06-12T07:56:39Z</dc:date>
    </item>
  </channel>
</rss>

