<?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 can i save a JMP file as a name with time string? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252462#M49554</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i save big class.jmp as a name with time string? Thanks&lt;/P&gt;&lt;P&gt;e.g. dt = Open("$SAMPLE_DATA/big class.jmp");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope the script can identify the work week, and the day of week and add automatically on the name, thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result i want:&lt;/P&gt;&lt;P&gt;save name as:&lt;/P&gt;&lt;P&gt;big class-ww12.1&lt;/P&gt;&lt;P&gt;big class-ww12.4&lt;/P&gt;&lt;P&gt;big class-ww12.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2020 05:15:12 GMT</pubDate>
    <dc:creator>Theresa</dc:creator>
    <dc:date>2020-03-16T05:15:12Z</dc:date>
    <item>
      <title>how can i save a JMP file as a name with time string?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252462#M49554</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i save big class.jmp as a name with time string? Thanks&lt;/P&gt;&lt;P&gt;e.g. dt = Open("$SAMPLE_DATA/big class.jmp");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope the script can identify the work week, and the day of week and add automatically on the name, thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result i want:&lt;/P&gt;&lt;P&gt;save name as:&lt;/P&gt;&lt;P&gt;big class-ww12.1&lt;/P&gt;&lt;P&gt;big class-ww12.4&lt;/P&gt;&lt;P&gt;big class-ww12.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 05:15:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252462#M49554</guid>
      <dc:creator>Theresa</dc:creator>
      <dc:date>2020-03-16T05:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: how can i save a JMP file as a name with time string?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252518#M49566</link>
      <description>&lt;P&gt;All that has to be done, is to concatenate together the elements of the name that you want in the saved name&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

dt &amp;lt;&amp;lt; save(
	"$TEMP/" || Char( dt &amp;lt;&amp;lt; get name ) || "-" ||
	Char( Week Of Year( Today() ) ) || "." || Char( Day Of Week( Today() ) ) ||
	".jmp"
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Mar 2020 12:34:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252518#M49566</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-03-16T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: how can i save a JMP file as a name with time string?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252656#M49591</link>
      <description>&lt;BR /&gt;Thanks a lot. May i ask if i want to save to below location and change a the csv file name to "new data", what should i do ? (final data name as "new data").&lt;BR /&gt;&lt;BR /&gt;Location variables:&lt;BR /&gt;Route="C:\Users\ywu64\Desktop\1\test data\";&lt;BR /&gt;&lt;BR /&gt;What should i do to change the name? and don't use big data any more.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2020 23:46:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252656#M49591</guid>
      <dc:creator>Theresa</dc:creator>
      <dc:date>2020-03-16T23:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: how can i save a JMP file as a name with time string?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252657#M49592</link>
      <description>thank you so much. And would you check the question related with "Day" calculation?</description>
      <pubDate>Mon, 16 Mar 2020 23:46:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252657#M49592</guid>
      <dc:creator>Theresa</dc:creator>
      <dc:date>2020-03-16T23:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: how can i save a JMP file as a name with time string?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252658#M49593</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Route="C:\Users\ywu64\Desktop\1\test data\";
 
dt &amp;lt;&amp;lt; save(
Route || "New Data-" ||
Char( Week Of Year( Today() ) ) || "." || Char( Day Of Week( Today() ) ) ||
".jmp"
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You need to study and learn the code.&amp;nbsp; Making the change from my original code to this version requires no new information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 00:32:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252658#M49593</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-03-17T00:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: how can i save a JMP file as a name with time string?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252659#M49594</link>
      <description>thank you very much, hope you have a lovely day.:)</description>
      <pubDate>Tue, 17 Mar 2020 00:33:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-i-save-a-JMP-file-as-a-name-with-time-string/m-p/252659#M49594</guid>
      <dc:creator>Theresa</dc:creator>
      <dc:date>2020-03-17T00:33:04Z</dc:date>
    </item>
  </channel>
</rss>

