Question:
In Informatica Powercenter 9.6.1 hf3, is it possible to send a parameter to a workflow that already is using a parameter file?
E.g., could I refer to a parameter file from another parameter file? And make the workflow use that one?
Background:
I am trying to pass a parameter 'INTERFACE_NAME' to a workflow that is called from another workflow.
using pcmd startworkflow... -paramfile <the param file>
, I can pass a parameter file in which I set the variable.
Problem:
However, there are many more environment variables that are specified in a global parameter file that the workflow also needs, and I do not want to add them to this little param file. This file is specified in the workflow itself.
As such, can the workflow use both param files? OR is there a way to refer to a param file (with global settings) from another param file (with only the run-specific settings e.g. filepattern)? OR another solution, e.g. dynamically create the file (should be a one-liner)?
thanks!
Not sure I fully understand the question. However if you've got a parameterfile in workflow definition (e.g. /home/user/primaryParamFile.param) and you will invoke the workflow with pmcmd startworkflow... -paramfile /home/user/secondaryParamFile.param
, only the latter one will be used. The primaryParamFile will not be used at all. Hope this helps.