using multiple parameter files in informatica
2016-04-08 14:36
337 查看
You must follow below steps, or you will be failed.
file at Workflow level and some defined at Session Level parameter file.
The solution is simple:
Define Workflow Parameter file. Say infa_shared/BWParam/param_global.txt
Define Workflow Variable and assign its value in param_global.txt with the session level param file name. Say $$var_param_file=/infa_shared/BWParam/param_runtime.txt
In the session properties for the session, set the parameter file name to this workflow variable.
Add $PMMergeSessParamFile=TRUE in the Workflow level Parameter file.
Content of infa_shared/BWParam/param_global.txt (Workflow Parameter file)
Content of infa_shared/BWParam/param_runtime.txt (session parameter file )
The $PMMergeSessParamFile property causes the Integration Service to read both the session and workflow parameter files.
http://dwbi.org/etl/informatica/150-stop-hardcoding-follow-parameterization-technique
Workflow and Session Level Parameter File
When we define a workflow parameter file and a session parameter file for a session within the workflow, the Integration Service uses the workflow parameter file, and ignores the session parameter file. What if we want to read some parameters from Parameterfile at Workflow level and some defined at Session Level parameter file.
The solution is simple:
Define Workflow Parameter file. Say infa_shared/BWParam/param_global.txt
Define Workflow Variable and assign its value in param_global.txt with the session level param file name. Say $$var_param_file=/infa_shared/BWParam/param_runtime.txt
In the session properties for the session, set the parameter file name to this workflow variable.
Add $PMMergeSessParamFile=TRUE in the Workflow level Parameter file.
Content of infa_shared/BWParam/param_global.txt (Workflow Parameter file)
[WorkFolder.WF:wf_runtime_param] $DBConnection_SRC=Info_Src_Conn $DBConnection_TGT=Info_Tgt_Conn $PMMergeSessParamFile=TRUE $$var_param_file=infa_shared/BWParam/param_runtime.txt
Content of infa_shared/BWParam/param_runtime.txt (session parameter file )
[WorkFolder.wf:wf_runtime_param.ST:s_m_emp_cdc] $$start_date=2010-11-02 $$end_date=2010-12-08
The $PMMergeSessParamFile property causes the Integration Service to read both the session and workflow parameter files.
http://dwbi.org/etl/informatica/150-stop-hardcoding-follow-parameterization-technique
相关文章推荐
- 处理数据时被double型的“NaN”数据坑了
- 别人犯错给自己的警醒(一):我老了会不会也那样?
- Java 是目前被采用得最多的语言
- SSL握手过程
- C语言 调用的动态库函数重名问题分析
- linux下tomcat安装
- 有上下界的网络流题目泛做
- 同时运行多个scrapy爬虫的几种方法(自定义scrapy项目命令)
- previous_changes方法
- Spring中的AOP
- JVM 优化经验总结
- Android App架构设计
- 实体Bean只是数据模型
- 【设计模式学习】模板方法
- JavaEE通过response实现请求重定向
- javaweb 学习资源
- JavaScript数据绑定实现一个简单的 MVVM 库
- @suppressWarnings("unchecked") java 中是什么意思
- adnroid键盘按键
- ubuntu创建FTP服务