Generate a new DISC TEXT file name with every run

Richard Witkopp RWitkopp at phxa.com
Tue Apr 1 15:30:01 CDT 2014


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.

________________________________
From: powerh-l-bounces+rwitkopp=phxa.com at lists.sowder.com [mailto:powerh-l-bounces+rwitkopp=phxa.com at lists.sowder.com] On Behalf Of greg greg
Sent: Tuesday, April 01, 2014 1:20 PM
To: powerh-l at lists.sowder.com
Subject: Generate a new DISC TEXT file name with every run

Hi,
       Is there a way of having the system generate a new Text file name with every run of a report.

Eg:

Set report device disc name TESTNAME  plus < SYSDATE>                    ; File name  TESTNAME-20030401.txt

In that way the first text file will not be overwritten when  the report runs automatically every day. Or
is there a way of doing this with COPY or RENAME also.

OPENVMS 8.3
POWERHOUSE  8.40G

Thanks in advance.

securemail.phxa.com made the following annotations
---------------------------------------------------------------------

NOTICE: The information contained in this e-mail and 
any attachments is confidential and may be privileged 
or otherwise protected from disclosure.This e-mail is 
intended solely for the use of the named addressee. 
Any other use, printing, copying, disclosure or 
dissemination may be subject to legal restriction. If 
you are not the intended recipient, please contact the 
sender and delete all copies including any attachments.



---------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20140401/ccbaf5c3/attachment.htm>


More information about the powerh-l mailing list