<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
= F$TIME()</font>
<br><font size=2 face="r_ansi">$ DATE
= F$CVTIME("",,"YEAR") +
-</font>
<br><font size=2 face="r_ansi">
F$CVTIME("",,"MONTH")
+ -</font>
<br><font size=2 face="r_ansi">
F$CVTIME("",,"DAY")</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"> "TESTNAME" = "SYS$LOGIN:TESTNAME_20140401.TXT"
(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:
</font><font size=1 face="sans-serif">greg greg <cassinih@hotmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">"powerh-l@lists.sowder.com"
<powerh-l@lists.sowder.com>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">04/01/2014 03:22 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</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:
</font><font size=1 face="sans-serif"><powerh-l-bounces+herald.kaffka=westfraser.com@lists.sowder.com></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3 face="Calibri">Hi,</font>
<br><font size=3 face="Calibri"> 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 plus
< SYSDATE>
; File name TESTNAME-20030401.txt</font>
<br>
<br><font size=3 face="Calibri">In that way the first text file will not
be overwritten when 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"> </font>
<br><font size=3 face="Calibri">OPENVMS 8.3</font>
<br><font size=3 face="Calibri">POWERHOUSE 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 &lt;password&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