[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] How to dynamically name / rename log file name
- Subject: RE: [sqr-users] How to dynamically name / rename log file name
- From: "Pamela L Lantzy" <PLantzy@uamail.albany.edu>
- Date: Mon, 12 Sep 2005 10:47:17 -0400
- Delivery-date: Mon, 12 Sep 2005 09:48:28 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: AcW3LPPIH5mC4b8WTMaQuPgH1iyg+QAewcKw
- Thread-topic: [sqr-users] How to dynamically name / rename log file name
Shibu,
The log file must be closed first.
date-time () 'YYYYMMDDHH24MISS' &out
let $ ts = &out
let $NewFileName = $FileName || '_' || $ts
let #status = rename($FileName,$NewFileName)
If this file is not opened or closed specifically, you can do the
command
new-report 'xxx.xx' and then the rename command. ($sqr-report contains
the name of file from sqr) That will stop writing to the current file.
Pam
-----Original Message-----
From: sqr-users-bounces+plantzy=uamail.albany.edu@sqrug.org
[mailto:sqr-users-bounces+plantzy=uamail.albany.edu@sqrug.org] On Behalf
Of Shibu Joys
Sent: Sunday, September 11, 2005 7:59 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] How to dynamically name / rename log file name
Hello All,
I would like to put a date time stamp to the log filename that is
created while running the sqr. How can i do this? Can this be done in
the same sqr that i am running?
Thanks in Advance,
Shibu
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users