SlideShare a Scribd company logo
3
Most read
4
Most read
User Exits in Informatica
MDM
What is user exit
 A user exit is custom Java code that
you develop that runs at specific
points in the batch or Services
Integration Framework (SIF) API
processes to extend the functionality
of MDM Hub. MDM Hub exits regular
MDM Hub processing to run code that
users develop
 MDM Hub supplies input parameter
values when it calls a user exit
Sample code
 public void processUserExit(UserExitContext userExitContext, String stagingTableName, String LandingTableName,
 String previousLandingTableName) throws Exception {

 //Entering the Post Landing User Exit
 logger.info("USER EXIT - POSTLANDING Process User Exit: " + LandingTableName);
 //Get the values from userExitContext Object
 String rowidJob = userExitContext.getBatchJobRowid();


 //Print some values to Cleanse/Process Server Logs
 logger.info("Rowid Job: " + rowidJob);
 logger.info("LDG Table Name: " + LandingTableName);
 logger.info("STG Table Name: " + stagingTableName);
 logger.info("PRL Table Name: " + previousLandingTableName);

 //Get DB Connection from userExitContect Object
 Connection conn = userExitContext.getDBConnection();
 CallableStatement cs = null;

 //Call mdm_custom_code.post_landing() Procedure
 cs = conn.prepareCall("begin MDM_CUSTOM_CODE.POST_LANDING (?,?,?,?,?,?); end;");
 cs.setString("in_rowid_job", rowidJob);
 cs.setString("in_ldg_table_name", LandingTableName);
 cs.setString("in_stg_table_name", stagingTableName);
 cs.setString("in_prl_table_name", previousLandingTableName);
 cs.registerOutParameter("out_err_msg",java.sql.Types.VARCHAR);
 cs.registerOutParameter("out_err_code", java.sql.Types.INTEGER);
 cs.execute();
 cs.close();
Types of User Exits
 Stage process User Exits
Post-Landing ….delta not started yet
Pre-Stage …delta calc is done
Post-Stage….raw,rej,stg
 Load process User Exits
Post-Load….
 Match process User Exits
Pre-Match
Post-Match
 Merge process User exits
Post-Merge
 Unmerge process User Exits
Pre-Unmerge
Post-Unmerge
User Exit Usage
 Post-landing
Transform, refine, replace Ctrl Characters, or any Pre-cleansing
 Pre-staging
Any kind of manipulation with the delta process like restricting delta to 10,000,audit delta in a table
 Post-Staging
Mostly used for Reject processing like archiving or deleting rejects (for known logics)
 Post-load
Any customization after data is loaded into base objects like loading child or change consolidation indicator status from 1 to 4 for other tables
 Pre-Match
Any tasks like children tables manipulation like manipulate child tables
 Post-Match
Manipulation of match queue
 Post-merge
Use a post-merge user exit to match and merge child records affected by the match and merge of a parent record.
Thank You

More Related Content

PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
Storytelling For The Web: Integrate Storytelling in your Design Process
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health

Recently uploaded (20)

PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
advance database management system book.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
Introduction to Building Materials
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
advance database management system book.pdf
History, Philosophy and sociology of education (1).pptx
Introduction to Building Materials
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Unit 4 Skeletal System.ppt.pptxopresentatiom
202450812 BayCHI UCSC-SV 20250812 v17.pptx
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Final Presentation General Medicine 03-08-2024.pptx
Indian roads congress 037 - 2012 Flexible pavement
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Hazard Identification & Risk Assessment .pdf
Cell Types and Its function , kingdom of life
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Chinmaya Tiranga quiz Grand Finale.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Ad
Ad

Informatica_MDM_User_Exits.ppt

  • 1. User Exits in Informatica MDM
  • 2. What is user exit  A user exit is custom Java code that you develop that runs at specific points in the batch or Services Integration Framework (SIF) API processes to extend the functionality of MDM Hub. MDM Hub exits regular MDM Hub processing to run code that users develop  MDM Hub supplies input parameter values when it calls a user exit
  • 3. Sample code  public void processUserExit(UserExitContext userExitContext, String stagingTableName, String LandingTableName,  String previousLandingTableName) throws Exception {   //Entering the Post Landing User Exit  logger.info("USER EXIT - POSTLANDING Process User Exit: " + LandingTableName);  //Get the values from userExitContext Object  String rowidJob = userExitContext.getBatchJobRowid();    //Print some values to Cleanse/Process Server Logs  logger.info("Rowid Job: " + rowidJob);  logger.info("LDG Table Name: " + LandingTableName);  logger.info("STG Table Name: " + stagingTableName);  logger.info("PRL Table Name: " + previousLandingTableName);   //Get DB Connection from userExitContect Object  Connection conn = userExitContext.getDBConnection();  CallableStatement cs = null;   //Call mdm_custom_code.post_landing() Procedure  cs = conn.prepareCall("begin MDM_CUSTOM_CODE.POST_LANDING (?,?,?,?,?,?); end;");  cs.setString("in_rowid_job", rowidJob);  cs.setString("in_ldg_table_name", LandingTableName);  cs.setString("in_stg_table_name", stagingTableName);  cs.setString("in_prl_table_name", previousLandingTableName);  cs.registerOutParameter("out_err_msg",java.sql.Types.VARCHAR);  cs.registerOutParameter("out_err_code", java.sql.Types.INTEGER);  cs.execute();  cs.close();
  • 4. Types of User Exits  Stage process User Exits Post-Landing ….delta not started yet Pre-Stage …delta calc is done Post-Stage….raw,rej,stg  Load process User Exits Post-Load….  Match process User Exits Pre-Match Post-Match  Merge process User exits Post-Merge  Unmerge process User Exits Pre-Unmerge Post-Unmerge
  • 5. User Exit Usage  Post-landing Transform, refine, replace Ctrl Characters, or any Pre-cleansing  Pre-staging Any kind of manipulation with the delta process like restricting delta to 10,000,audit delta in a table  Post-Staging Mostly used for Reject processing like archiving or deleting rejects (for known logics)  Post-load Any customization after data is loaded into base objects like loading child or change consolidation indicator status from 1 to 4 for other tables  Pre-Match Any tasks like children tables manipulation like manipulate child tables  Post-Match Manipulation of match queue  Post-merge Use a post-merge user exit to match and merge child records affected by the match and merge of a parent record.