Hi
I have to generate an xml file with name_yyddmmDDMMSS.xml .
I am presently doing this through the unix script.I have also tried to use name_#dsjobTimestamp#.xml but it will not genarate in the above format.
Is there any possibility to specify the timstamp format in the job level itself?
thanks in advance
generating an xml file with required timestamp
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 437
- Joined: Fri Oct 15, 2004 6:13 am
- Location: Pune, India
There is a way to do this.
You have to write a after job routine. The XML stage will have names like Job1XMLOut.xml in the XML stage.
the in the after job routine call commond line as follows:
It may require some mino changes depending on the unix u r using.
You have to write a after job routine. The XML stage will have names like Job1XMLOut.xml in the XML stage.
the in the after job routine call commond line as follows:
Code: Select all
mv Job1XMLOut.xml Job1XMLOut_`date +"%y%m%d%H%M%s"`.xml
Regards,
S. Kirtikumar.
S. Kirtikumar.
-
- Participant
- Posts: 437
- Joined: Fri Oct 15, 2004 6:13 am
- Location: Pune, India