Hi All,
I was trying to generate file name as #filename#_#timestamp#.
I was generating timestamp in sequence using command as
date '+%y%m%d:%H:%M:%S'
while running sequence job is getting aborted and error is
When processing argument -fileWhen processing path: /home/xxxx/xxx/file_100908:14:58:00 .dat is not a valid path name
i tried removing ":" from timestamp but it was saying "controller problem code =-4 "
Then i tried passing timestamp using Erreplace(timestamp,@FM," ")
but still error is coming...
Any suggestions please...
Thank you
Trying to Append time stamp to file name!!
Moderators: chulett, rschirm, roy
Dont add space to the timestamp. Try this
Code: Select all
Erreplace(timestamp,@FM,"")
You are the creator of your destiny - Swami Vivekananda
Hi anbu ,anbu wrote:Dont add space to the timestamp. Try thisCode: Select all
Erreplace(timestamp,@FM,"")
Thaks for reply ..i did tried that option but still error persists..
Thnak you
yes anbu ,anbu wrote:Can you post the value of filename from director?
Did you get the same error message after the erreplace change?
But i tried changing the datatype of timestamp param to string in job parameters and it worked...
Do we should have a datatype of string for timestamp value??
I was unable to sort why does error came and why does error gone??
thank you..