<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Garamond;
        panose-1:2 2 4 4 3 3 1 1 8 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.ecxmsochpdefault, li.ecxmsochpdefault, div.ecxmsochpdefault
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.ecxmsohyperlink1
        {color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {color:purple;
        text-decoration:underline;}
span.ecxemailstyle181
        {font-family:Garamond;
        color:blue;
        font-weight:normal;
        font-style:normal;}
p.ecxmsochpdefault1, li.ecxmsochpdefault1, div.ecxmsochpdefault1
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman";}
span.EmailStyle28
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sure, just define a logical using the
report name. Easy to do in a command procedure, otherwise look into executing
an operating system command from inside the Powerhoose environment. Although
iirc that doesn’t work so well, because the DEFINE would take place at a
different “level” than the program would be operating in.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
powerh-l-bounces+rwitkopp=phxa.com@lists.sowder.com
[mailto:powerh-l-bounces+rwitkopp=phxa.com@lists.sowder.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>greg greg<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, April 01, 2014 1:20
PM<br>
<b><span style='font-weight:bold'>To:</span></b> powerh-l@lists.sowder.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> Generate a new DISC TEXT
file name with every run</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>Hi,<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'> Is there a way of having the
system generate a new Text file name with every run of a report.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>Eg:<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>Set report device disc name TESTNAME plus <
SYSDATE>
; File name TESTNAME-20030401.txt<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>In that way the first text file will not be overwritten
when the report runs automatically every day. Or<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>is there a way of doing this with COPY or RENAME also.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>OPENVMS 8.3<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>POWERHOUSE 8.40G<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>Thanks in advance. <o:p></o:p></span></font></p>
</div>
</div>
</div>
<P>securemail.phxa.com made the following annotations<br/>---------------------------------------------------------------------<br/><br>NOTICE: The information contained in this e-mail and <br>any attachments is confidential and may be privileged <br>or otherwise protected from disclosure.This e-mail is <br>intended solely for the use of the named addressee. <br>Any other use, printing, copying, disclosure or <br>dissemination may be subject to legal restriction. If <br>you are not the intended recipient, please contact the <br>sender and delete all copies including any attachments.<br>
<br/>---------------------------------------------------------------------<br/>
</P></body>
</html>