Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Hi,
Anyone knows how I can create unique fileNames? I have a tokenized valueList and I am outputting the valueList to a file. I need each file to be unique but I am not sure how I can accomplish that. Is there an easy way or only a hard way? Any help appreciated.
Thank You! Sebastian
Use a timestamp in the name of the file. If you look in the WmSamples package at sample.soap:customProc_msgQueue, there is a good example of this.
Sebastian,
The package i sent you has this feature.create a counter variable and whenever you find an E entry, increment the counter by 1.concatenate this counter variable with the filename you want to give.or you can follow Chris Coyle’s suggestion.
HTH ramesh.
Ramesh,
Where did you send the pckg? To my email address skwareks@yahoo.com? I didn’t get it.
Thanks, Sebastian
Send it in the Splitting Flat Files thread…check out there and let me know if you have any problems.
ramesh.