Hi All,
How to create a file name with CurrentTimestamp?
I want to create a file in this form "filename_CurrentTimestamp.XLS"
Thanks in advance.
file name
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 108
- Joined: Sat Feb 05, 2005 6:52 pm
- Location: US
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
A search will find an after-stage subroutine that you can use. Generate the base name, then use the after-stage subroutine to change the name. Since the after-stage subroutine is not executed until all rows have been processed and the file closed, this is an entirely valid approach.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.