<font size=2 face="sans-serif">Do a define from the calling command file/screen,</font>
<br>
<br><font size=2 face="sans-serif">Command file example:</font>
<br><font size=2 face="r_ansi">$ SYSTIME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; = F$TIME()</font>
<br><font size=2 face="r_ansi">$ DATE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;= F$CVTIME(&quot;&quot;,,&quot;YEAR&quot;) &nbsp;+
-</font>
<br><font size=2 face="r_ansi">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; F$CVTIME(&quot;&quot;,,&quot;MONTH&quot;)
+ -</font>
<br><font size=2 face="r_ansi">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; F$CVTIME(&quot;&quot;,,&quot;DAY&quot;)</font>
<br><font size=2 face="r_ansi">$!</font>
<br><font size=2 face="r_ansi">$ DEFINE/NOLOG TESTNAME SYS$LOGIN:TESTNAME_'DATE'.TXT</font>
<br>
<br>
<br><font size=2 face="r_ansi">$ show log testname</font>
<br><font size=2 face="r_ansi">&nbsp; &nbsp;&quot;TESTNAME&quot; = &quot;SYS$LOGIN:TESTNAME_20140401.TXT&quot;
(LNM$PROCESS_TABLE)</font>
<br>
<br>
<br><font size=2 face="r_ansi">pretty much the same thing within quick,
just have to format sightly differently.</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">greg greg &lt;cassinih@hotmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;powerh-l@lists.sowder.com&quot;
&lt;powerh-l@lists.sowder.com&gt;, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">04/01/2014 03:22 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Generate a new
DISC TEXT file name with every run</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">&lt;powerh-l-bounces+herald.kaffka=westfraser.com@lists.sowder.com&gt;</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3 face="Calibri">Hi,</font>
<br><font size=3 face="Calibri">&nbsp; &nbsp; &nbsp; &nbsp;Is there a way
of having the system generate a new Text file name with every run of a
report.</font>
<br>
<br><font size=3 face="Calibri">Eg:</font>
<br>
<br><font size=3 face="Calibri">Set report device disc name TESTNAME &nbsp;plus
&lt; SYSDATE&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;; File name &nbsp;TESTNAME-20030401.txt</font>
<br>
<br><font size=3 face="Calibri">In that way the first text file will not
be overwritten when &nbsp;the report runs automatically every day. Or</font>
<br><font size=3 face="Calibri">is there a way of doing this with COPY
or RENAME also.</font>
<br><font size=3 face="Calibri">&nbsp; &nbsp; &nbsp;</font>
<br><font size=3 face="Calibri">OPENVMS 8.3</font>
<br><font size=3 face="Calibri">POWERHOUSE &nbsp;8.40G</font>
<br>
<br><font size=3 face="Calibri">Thanks in advance. </font><tt><font size=2>--<br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>
Mailing list: powerh-l@lists.sowder.com<br>
Subscribe: 'subscribe' in message body to powerh-l-request@lists.sowder.com<br>
Unsubscribe: 'unsubscribe &amp;lt;password&amp;gt;' in message body to
powerh-l-request@lists.sowder.com<br>
</font></tt><a href="http://lists.sowder.com/mailman/listinfo/powerh-l"><tt><font size=2>http://lists.sowder.com/mailman/listinfo/powerh-l</font></tt></a><tt><font size=2><br>
This list is closed, thus to post to the list you must be a subscriber.<br>
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.</font></tt>
<br><br />
<br />----------------------------
<br />This e-mail message and any attachments are confidential.  Any dissemination or use of this information by a person other than the intended recipient is unauthorized.  If you are not the intended recipient, please notify me by return e-mail, do not open any attachment and delete this communication and any copy.  Thank you