Default Path for Files
Moderators: chulett, rschirm, roy
Default Path for Files
In our development environment, we're finding that some developers are occassionally unit testing jobs in which they've forgotten to specify a filename for sequential files. As a result, sequential files are automatically assigned their inbound linknames and placed in the project directory.
Although we're obviously encouraging developers to carefully check their code prior to execution, we're also wondering whether we could modify the default directory used when a path is not specified. Is it possible to specify a default directory that differs from the project directory? Any opinions as to whether this is a desirable approach?
Thanks for your help!
Peter
Although we're obviously encouraging developers to carefully check their code prior to execution, we're also wondering whether we could modify the default directory used when a path is not specified. Is it possible to specify a default directory that differs from the project directory? Any opinions as to whether this is a desirable approach?
Thanks for your help!
Peter
I'm not aware of any mechanism to do so. The 'current working directory' of any job is the Project that it is running in so relative pathed files would be relative from there.
Best to fully path any files and use job parameters to specify those paths, in my opinion.
Best to fully path any files and use job parameters to specify those paths, in my opinion.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is no such mechanism. Your developers will need to adopt a more disciplined approach (which includes cleaning up any such files created in the project directory). A standard set of parameters helps; parameters for source directory, rejects directory, work directory and so on.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I forgot search is a advanced concept.
viewtopic.php?t=96760
I think the path is included in the file name. You would need to look for slashes (either \ or / based on the OS). The absence of slashes says the file is in the project directory. The # should exist in a parameterized version. It should be easy to check for these before promoting the job to a production environment. If you have several DS developers then assign one to promote jobs and QA them. Make sure all ETL standards are met before promoting the job.
viewtopic.php?t=96760
I think the path is included in the file name. You would need to look for slashes (either \ or / based on the OS). The absence of slashes says the file is in the project directory. The # should exist in a parameterized version. It should be easy to check for these before promoting the job to a production environment. If you have several DS developers then assign one to promote jobs and QA them. Make sure all ETL standards are met before promoting the job.
Mamu Kim