Another way would be to rename the file after generating.  This way you
would not have to change any of your macros.  You can generate date info
using Set Fields and the MONTH, DAY, and YEAR functions and pass them
into a routine that renames the output file.

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of LJ Longwing
Sent: Tuesday, September 02, 2008 2:21 PM
To: [email protected]
Subject: Re: Automated Reports


I have done this type of thing via perl scripting...create your
'template' macro and have it contain a unique value for the report
name...then have perl generate the timestamp that you are looking
for...make a copy of the template macro, edit the copy to have a
different report name, then execute runmacro with the new macro instead
of the template...then you can delete today's macro file.

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Randy Simon
Sent: Tuesday, September 02, 2008 1:11 PM
To: [email protected]
Subject: Automated Reports



I run a report each day via macros and escalations.

The report has a name and it overwrites the previous report every day.

Is there a way to have the name of the report end in something like
TIMESTAMP so it does not overwrite the older report?

 

CSS 5.0

ARS 6.0

SQL 2005

 

Randy Simon

Remedy Admin

Online Resources Corporation 

________________________________________________________________________

STATEMENT OF CONFIDENTIALITY:

The information contained in this message or any attachments to this
message are intended only for the person(s) or entity to which it is
addressed and may contain confidential and/or privileged material as
well as being protected from disclosure. 
Any review, retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities
other than the intended recipient is strictly prohibited. If you
received this in error, please contact us immediately and delete the
material from any computer. 

Thank You.      
  
 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to