I want to create a sequential file whose name would be dynamic. For example i want to create a sequential file which would have the current system timestamp appended to the file. Anyone having any ideas on this
Hi,
use parameters in the file's path tab.
i.e. #DIR_PARAM#/file_name#TMSP_PARAM#.dat
or if you prefer get the parameter to hold the full path or file name
yes this means you need to have it in a paramter prior to running that job.
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
I tried it in Windows environment. It aborted as it can't create a file with with ':' in it and the 'DSJobStartTimeStamp' comes back with a value which has ':' in it ..
raju_chvr wrote:I tried it in Windows environment. It aborted as it can't create a file with with ':' in it and the 'DSJobStartTimeStamp' comes back with a value which has ':' in it ..
Change the ':' to '_' with ereplace afterwards. Put the calculation of the date/time in a controlling job passing the value as a parameter.