how can I attach Current date as file name

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Gaurav1
Participant
Posts: 9
Joined: Tue Jan 12, 2010 7:29 am
Location: Bangalore

how can I attach Current date as file name

Post by Gaurav1 »

Hi,

How can I attach Current date as file name.?
suppose my file name is abcd_sysdate.txt



Any input will be Appreciated.


Gaurav
Gaurav//
kolkata-101//
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

This has been asked and answered a ton here. Do an exact search for "current date" and you'll find several such posts in the results.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Abhijeet1980
Participant
Posts: 81
Joined: Tue Aug 15, 2006 8:31 am
Location: Zürich
Contact:

how can I attach Current date as file name

Post by Abhijeet1980 »

Let the incoming file be named as simple as "incoming.txt". Post load, it cab ne renamed with date as prefix or suffix.

I dont see any other useful information.
Kind regards
Abhijit Gaikwad
nikhilanshuman
Participant
Posts: 58
Joined: Tue Nov 17, 2009 3:38 am

Post by nikhilanshuman »

Nikhil
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Moderator: please move to Enterprise Edition (parallel) forum
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply