Set the pyFilePath for a File Dataset
Can anyone suggest how to set the pyFilePath for a file Dataset programatically? It doesn't seem to support the GRS syntax. The following article suggests we can create unique filenames (by including a formatted timestamp).
I need to be able to read the file path from a Dynamic System Setting as it varies within our environments. Currently I am proposing to write out to a 'temp' folder and move the file as part of Data Flow post-processing.
Yes, looks like, File Dataset doesn't support GRS support for dynamically pyFilePath setup. And this looks to be a Product enhancement idea.
By referring your solution : ' to write out to a 'temp' folder and move the file as part of Data Flow post-processing'
if I decode properly (please correct me if I am wrong):
It looks to be a bit overhead job(3 step process) to me as I can assume system has access to the DSS location. So if that path mentioned in Dataset which is a 1-step job . I would like to know more about your actual usecase you want to achieve here.