Informatica - Audit Scripts

来源:互联网 发布:js字符串格式化时间 编辑:程序博客网 时间:2024/06/03 18:36

很早之前总结的笔记,这是之前做的一个保险项目,业务逻辑比较复杂,基本都在 Informatica 中实现所有的业务逻辑,对 ETL 架构和 Informatica 工具理解的要求比较高.
这里就简单贴一些图,供大家揣摩。

1. How to config the session info for audit control 
2. How to generated parameter file according to workflow 
3. How to dynamtica invoke the parameter for incremental mapping.


Part 1. How to Config audit script workflow & session
1. pre_audit , pre_batch & post_batch , post_audit 的参数配置及配置文件 (在调用mapping的时候需要选用快捷方式的mapping,为了方便migrate到 QC & Pre-prod)

1.2 Pre_batch 的配置 ->对找到的audit & batch 下面所有的session信息全部放到新的参数文件里面。可以指定错误文件的信息

1.3 . Audit control parameter file config info.Data_Feed_Mart_AUDIT_Control.parmCommonDataWarehouse_AUDIT_Control.parm




Part 2 : How to generated parameter file according to workflow 
You need run Post workflow first and then run Pre workflow.  just put audit run info into andit & batch & session control table.

Run workflow


Pre_Batch will read session info according to wbmi_session_control table and generate session config info to a parameter file.
ReferenceData_DG.parm


Show the audit script inset results.Reset Ap25 audit scripts.SQL
Audit Script Check scripts.sql

Part 3. How to invoke the parameter file info from informatica Mapping
3.1 Define parameter & variables

3.2 Use these parameters in SQ Override.



0 0
原创粉丝点击