During a project I was working on I needed to have a central variable in a mapping that I could set and also retrieve during the session run. There are 4 functions that manipulate mapping variables. When you create a mapping variable you have to choose an aggregation function for this variable, you can choose …
Tag: Informatica Powercenter
Feb 06 2017
Informatica Powercenter: Remove hash (#) character from header output in a flatfile target
When you have a flatfile as a target for your ETL Powercenter prefixes the header of the file with a hash (#) character when you choose to have Powercenter generate the header from the target definition port names. Usually you do not want this hash to be present in your file. The easiest way to …
Aug 28 2014
Informatica Powercenter : SQL Hints in lookup SQL Override
By default you cannot use the following characters in an lookup sql override : ‘/*’ Because of this you cannot enter SQL Hints. You will get an error message when running your mapping. This is because the informatica parser doesn’t recognize these special characters. To enable SQL hints in a lookup sql override you can …
Apr 14 2014
Informatica Powercenter : PMREP Massupdate Commit Type value
If you need to do a mass update of sessions to change the commit type you can use PMREP. This is all explained in the Informatica Help. What is not explained in the help is what value you should enter in the -v option. Here are the values you can enter : 0 – for …
Feb 11 2014
Informatica Powercenter : Bigint primary key violation
While loading data from a SQL Server database into Oracle i came across a problem. Everytime i did a full load of the data i got a primary key violation in the target table. This was weird because the source did not have any duplicate keys. It turned out to be that the bigint from …
Jan 03 2012
Informatica Powercenter Repository : Find which session instances use a certain connection
If you want to check if a relational connection is still used in any session instance you can use the following query on the repository: SELECT M.MAPPING_NAME ,SI.INSTANCE_NAME INSTANCE_NAME ,SA.ATTR_VALUE TABLE_OWNER ,MSE.OBJECT_NAME READER_WRITER_TYPE ,C.OBJECT_NAME CONNECTION_NAME ,C.USER_NAME ,WA.ATTR_VALUE SQL_OVERRIDE FROM DWHREP.OPB_SWIDGET_INST SI ,DWHREP.OPB_SWIDGET_ATTR SA ,DWHREP.OPB_MAPPING M ,DWHREP.OPB_WIDGET_INST WI ,DWHREP.OPB_WIDGET_ATTR WA ,DWHREP.OPB_SESS_EXTNS SE ,DWHREP.OPB_MMD_SESS_EXTNS MSE ,DWHREP.OPB_SESS_CNX_REFS SCR …
- 1
- 2