Вы находитесь на странице: 1из 4

THURSDAY , AUGUST 30TH

ABOUT ABOUT

CONTACT CONTACT US US

search...

INFORMATICA

ETL

ORACLE

UNIX
ETLLabs.com is a weblog to discuses about data management and data integration tools. read more

You are here: Home INFORMATICA

How to capture failed Informatica Workflow status


AUGUST 5, 2011 12:00 AM 8 COMMENTS VIEWS: 3,967

MOST POPULER

MOST VIEWED

1. How to use Mapping variable in informatica 10


COMMENTS

Capturing Informatica workflow status by accessing informatica metadata or repository views. Whether you are a lone developer building an ETL application or a lead whose team working on for a next big release, here are few simple scenarios,which will help you to build need for capturing workflow status.

Share this Article


TWITTER FACEBOOK DELICIOUS DIGG

2. How to capture failed Informatica Workflow


status 10 COMMENTS

3. Informatica parameter file creation and usage


9 COMMENTS

Scenario to capture informatica workflow status


1: You are developing a module or data mart, and you are in pre- production phase where data is being validated by clients. you have around 400+ daily loads which happens through 300+ workflows to push the data. One consolidated report being a lead can help you diagnose the overall situation before reporting back to client about successful load. 2: You have developed code which loads around 1000+ same structured files. you are in system integration testing where your code is being tested for robustness. with this you can see overall status before anything goes wrong badly.

STUMBLE REDDIT

4. Illustration: Informatica parameter file syntax


and Structure 8 COMMENTS

Author:

5. Executing PMCMD command on UNIX and


Syntax 6 COMMENTS

1. How to use Mapping variable in informatica


mahender
11471 VIEWS

2. Executing PMCMD command on UNIX and


Syntax 8822 VIEWS

3: One of your significant upstream system is being sunset, decision has been taken that new system will process data in parallel (to Current Production system) and apple to apple comparison will be done to plan cut-off of earlier upstream system. Here you can predict data deviation with this report well in advance and can start investigation.

3. Few Sample: Informatica Parameter file 5740


VIEWS

4. Informatica parameter file creation and usage

Repository metadat view REP_WFLOW_RUN or OPB_WFLOW_RUN:


This is informatica metadata view which keeps the run statistics for all workflows by folder. Few elements which can be used.
WORKFLOW_NAME,SERVER_NAME,RUN_ERR_CODE,RUN_ERR_MSG,SUBJECT_AREA, RUN_STATUS_CODE

5191 VIEWS

5. How to capture failed Informatica Workflow


status 3967 VIEWS

6. Illustration: Informatica parameter file syntax


and Structure 3917 VIEWS

Informatica workflow status SQL Query


S E L E C TW O R K F L O W _ N A M E , S E R V E R _ N A M E , R U N _ E R R _ C O D E , R U N _ E R R _ M S G , S U B J E C T _ A R E A , d e c o d e( R U N _ S T A T U S _ C O D E , 1,' S u c c e e d e d ' , 2 , ' D i s a b l e d ' , 3 , ' F a i l e d ' , 4 , ' S t o p p e d ' , 5 , ' A b o r t e d ' , 6 , ' R u n n i n g ' , 1 5 , ' T e r m i n a t e d ' ) S t a t u s f r o mi n f a _ m e t a d a t a _ s c h e m a . R E P _ W F L O W _ R U N w h e r eS T A R T _ T I M E > =s y s d a t e 2a n dE N D _ T I M E < = s y s d a t e o r d e rb yS U B J E C T _ A R E A , W O R K F L O W _ N A M E , R U N _ S T A T U S _ C O D E ;

7. Informatica mapping parameter & variable


3740 VIEWS

8. Overview, Example and Creation of


Informatica Dynamic Parameter File ? 3704 VIEWS

9. Why informatica etl is successful in data


integration space ? 3596 VIEWS

10. How to display records loaded to target in


INFORMATICA email task 2890 VIEWS

You need to change the schema name accordingly in above query.

Sql Query to capture Informatica Workflow Status

etllabs.com/informatica/informatica-workflow-status/451/

1/4

Further,create one workflow which runs after every four hours and send an email to you with below report.

Screen Shot: Status Report

Results will look like after running Informatica Workflow status Query

No related posts.

8 COMMENTS

Um a
Augus t 5, 2011 11:30 am

Mahender, In the scenario 3, Please write more on how data deviation be predicted from the informatica workflow status. My understanding is the workflow status may report the current / previous status of the workflow runs but cannot give the deviation in data from legacy to new system. When data from both legacy and new systems to be compared, one may design a new session that compare the two systems data post load and generate a report for data deviation and some audit.
REPLY

Mahender
Augus t 7, 2011 12:09 pm

Hey Uma , See If you know that number of successful workflows in PROD and TEST environment are not same then you can easily predict that data will not be same till the jobs gets properly recovered. Apparently, this can help anticipating the data deviation in two systems by capturing failed Informatica Workflow status.
REPLY

Arun
Novem ber 3, 2011 8:57 pm

Hi Mahender I appreciate your help!! Its really a great job that youre helping out people who needs metadata level info. Im goin to stat working on performance testing soon on 8.6. I need all metadata tables/views for developing various sqls/functional requirements. Please all kinda sqls that you used @ metadata level. I again appreciate your help!!

etllabs.com/informatica/informatica-workflow-status/451/

2/4

Thanks,
REPLY

mahender
Novem ber 5, 2011 11:01 am

Thnx Arun,, Few links talkin about informatica metadata tables, specially first link will be really helpful for you, soon i will share few more. http://etllabs.com/informatica/informatica-metadata-tables/1053/ **********SQL 2 Find out Poor Performing Sessions http://etllabs.com/informatica/informatica-views/1213/ http://etllabs.com/informatica/informatica-metadata-tablesexpressions/1170/ http://etllabs.com/informatica/informatica-metadata-table-lookuptable/433/ http://etllabs.com/informatica/opb_wflow_run/896/ http://etllabs.com/informatica/informatica-workflow-status/451/
REPLY

Ritesh
Novem ber 9, 2011 6:23 am

Thanks Mahender,Could you please help on finding names of workflows which are in failed status at present in repository.As above query will tell status of workflows in past,but i need to find the current status.Your help on this will be highly appreciated.
REPLY

m ahender
Novem ber 9, 2011 6:00 pm

Ritesh, Changed date range will give you desired results. Thanks
REPLY

eswar
Novem ber 18, 2011 4:16 am

Plz provide me ETL Testing meterial.

REPLY

Rakesh
January 20, 2012 9:38 am

Hi Mahender, Could you please help me in getting the list of workflows from repository to which Integration service is not assigned. Thanks in advance!
REPLY

LEAVE A REPLY

Nam e (required)

E-Mail (will not be published) (required)

Website

Verify your real existence, Drag the juice to the glass

etllabs.com/informatica/informatica-workflow-status/451/

3/4

Reset
Powered by Sweet Captcha

Submit Comment

TRACKBACKS
1 . Inform atica m etadata table OPB_WFLOW_RUN & REP_WFLOW_RUN 2 . ** PULL LOOKUP TABLE LIST ** with Inform atica Metadata Table ?

ABOUT

CONTACT US

SEARCH:
Contact Us About

search...

GO

Copyright 2012 . All Rights Reserved

Designed by

etllabs.com/informatica/informatica-workflow-status/451/

4/4

Вам также может понравиться