top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Informatica Repository Query to get Workflow, Session, Mapping and Source/Target of Mapping

0 votes
2,155 views

For cleaning up unused IPC-Sources I need a Repository Query for getting Workflow, Session, Mapping and Source/Target of Mapping.I have startet by joining REP_LOAD_SESSIONS and REP_TBL_MAPPING on mapping_id but only a fraction of mappings seem to be present in the joined output. I can't find the right tables to join to get the job done. Any help will be greatly appreciated!

posted Jul 3, 2014 by Sachin

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There are many ways using the MX-views and core tables... if you could show ur query here, perhaps I could help debug

answer Oct 6, 2014 by Shweta Singh
Similar Questions
+1 vote

I hav a source structure in informatica like

col1 number   col2 varchar(40)   col3 DATE   col4 varchar(50)   col5 number

and my target definition is like

col4 varchar(50)   col1 number  col5 number  col3 varchar(40)  col3 DATE

If i want to load the source records into target i will map the columns appropriately from source to target in a zig zag way

I just want to know that if there is any concept like informatica will automap fields from source to target based on column names i.e if the target columns are shuffled but the column names are the same ...

any suggestions regarding the same would be helpful ..

+1 vote

I hav a source structure in informatica like

col1 number   col2 varchar(40)   col3 DATE   col4 varchar(50)   col5 number

and my target definition is like

col4 varchar(50)   col1 number  col5 number  col3 varchar(40)  col3 DATE

If i want to load the source records into target i will map the columns appropriately from source to target in a zig zag way

I just want to know that if there is any concept like informatica will automap fields from source to target based on column names i.e if the target columns are shuffled but the column names are the same ...

any suggestions regarding the same would be helpful ..

+2 votes

Within Informatica I have a Mapping which uses a unconnected lookup. This Mapping I use in a Session wherein I define a Relational DB connection for this lookup transformation.

Now, which repository tables will I have to query to get the connection names for all my lookups in my sessions? I tried REP_SESS_WIDGET_CNXS, but there are only connection names for sources and targets of my sessions.

Any idea on this one?

0 votes

Can anyone tell me how to find the list of mapping and the workflow that are using a particular table say X either as a source or target table?

0 votes

When I look at many of the workflow last sessions runs in the workflow monitor I see the number of records that are picked by the transformation is different than the number of records that get updated or inserted in the target table.

For example my sql transformation picks 80,742 rows from the source table. but only 29,813 rows get loaded into the target table.

On further analyzing the workflow log file I can see it loaded both insertable records and updatable records:

WRT_8036 Target: W_SALES_ORDER_LINE_F (Instance Name: [W_SALES_ORDER_LINE_F]) WRT_8038 Inserted rows - Requested: 15284
 Applied: 15284 Rejected: 0 Affected: 15284 WRT_8041 Updated rows - Requested: 14529 Applied: 14529 Rejected: 0 Affected: 14529 

WRITER_1_*_1> WRT_8035 Load complete time: Wed Mar 19 04:41:24 2014

I am not able to figure out why would the workflows load lesser records than what source sql gives. and I would really appreciate some help in this matter.

Thanks

...