informatica-powercenter

How to run only failed sessions in a workflow

偶尔善良 提交于 2019-12-30 12:23:11
问题 In a workflow there are sessions connected in parallel and in sequence. Suppose some sessions which are in parallel and in sequential mode are failed, How do I restart the workflow with only failed sessions. How can I design this in Informatica? 回答1: Turn 'suspend on error' for workflow Turn 'restart on recovery' for each session in workflow Now if any session fail workflow will be suspended until you fix the problem and hit recover on workflow in monitor. When you do so it cause to restart

how to set Error on truncation in informatica

拟墨画扇 提交于 2019-12-25 07:47:58
问题 I'm just new in the informatica and I want to set a data loading that will handle error checking. E.g I have char(1) data type in the Recepction Table now, in my source I have more than 1 char but informatica is loading the data and it is being truncated in the reception table. I just want configure the loading that my session will fail if there is truncation happen from source to reception. 回答1: By default, when a value is truncated, a warning is logged. If you want to treat truncation as an

A shell script to to change a value in a file with a parameter

人走茶凉 提交于 2019-12-25 06:07:19
问题 I am an etl developer, am very new to shell scripting, My file is param.prm [3_go:wf_test:s_test] $Dbconnection=abcd $Dbstring=qwert I need a shell script to to read the above file and change the value of $dbconnection (now abcd) dynamically with the variable I pass , every time I run the script. How can I do that? 回答1: $ sed 's/\($Dbconnection=\).*/\1NewValue/' param.prm [3_go:wf_test:s_test] $Dbconnection=NewValue $Dbstring=qwert To change the file in-place, use the -i option. For GNU sed:

Date Formats comparison in Informatica

大憨熊 提交于 2019-12-25 04:15:42
问题 I have just started working on Informatica. I have a column that is of string datatype which contains date. I need to check if the date is in the format 'YYYY-MM-DD' . If so it needs to return 1 else if it is of any other format it needs to return zero. I need to perform this operation in the Expression transformation. Thanks in Advance. 回答1: Hi, You can use the below function, IIF(IS_DATE(date_column,'YYYY-MM-DD'),1,0) 回答2: You can use IS_DATE (input_field, 'YYYY-MM-DD') 来源: https:/

How To Generate Dynamic Target File In Informatica

元气小坏坏 提交于 2019-12-25 00:13:56
问题 Scenario: Generate different flat file target based on the Location name, like separate files for Mumbai.dat, Bangalore.dat, and Delhi.dat Source Table: Dept name Dept ID Location DWH 1 Mumbai Java 2 Bangalore Dot net 3 Delhi I am able to achieve the output through transaction control and output field file name but the problem is I am creating workflow and session for this associated with this mapping but problem is I need to pass the input and outside in session through parameter file.I

SQL Server repository for informatica powercenter

对着背影说爱祢 提交于 2019-12-24 17:57:39
问题 I have a powercenter 9.1 installation on windows server 2008 R2. The repository is on the same box, hosted on sql server 2012. I have configured a new user (with sql server authentication) and have the repo db owned by that user. (it has the owner role) The core problem : I am not able to run a simple test workflow on this setup. Here's what I have been trying The windows firewall has been taken down now for about an hour or so. The repository service and integration service are running in

DTS/SSIS vs. Informatica Power Center

不打扰是莪最后的温柔 提交于 2019-12-22 09:54:57
问题 I'm sure that this is a pretty vague question that is difficult to answer but I would be grateful for any general thoughts on the subject. Let me give you a quick background. A decade ago, we used to write data loads reading input flat files from legacy applications and load them into our Datamart. Originally, our load programs were written in VB6 and cursored through the flat file and for each record, performed this general process: 1) Look up the record. If found, update it 2) else insert

Informatica writes rejected rows into a bad file, how to avoid that?

自古美人都是妖i 提交于 2019-12-21 20:25:00
问题 I have developed an Informatica PowerDesigner 9.1 ETL Job which uses lookup and an update transform to detect if the target table has the the incoming rows from the source or not. I have set for the Update transform a condition IIF(ISNULL(target_table_surrogate_id), DD_INSERT, DD_REJECT) Now, when the incoming row is already in the target table, the row is rejected. Informatica writes these rejected rows into a .bad file. How to prevent this? Is there a way to determine that the rejected rows

Informatica: Prev column value display

荒凉一梦 提交于 2019-12-18 07:11:33
问题 The data in the source table is as follows: - Empno Ename sal 101 Allen 1000 102 Alex 2000 103 Tom 1500 104 Cb 2100 I want the output to be as follows :- Empno Ename sal 101 Allen 0 102 Alex 1000 103 tom 2000 104 Cb 1500 Can you please tell me by using which transformation i can acheive the result. Also plz let me know the logic. 回答1: Add an expression transformation with two variable ports: PORT EXPRESSION in_sal N/A v_previous_sal v_current_sal v_current_sal in_sal out_sal v_previous_sal

informatica mapping to assign values of column1 position1 to column2 position2

青春壹個敷衍的年華 提交于 2019-12-13 02:19:47
问题 Input column1 11 12 13 14 Desired output Colmn1 column2 11 Null 12 11 13 12 I have added the ports in the order as below in expression, column1 - colmn1 V-count - V_count+1 column2 - iif(V_count=1,null,v_col) V_col - column1 Since I studied as like the order of ports matters the execution order.so I added the v_col at last. But for column2 1st position is null and the remaining values in column2 are as same as column1. Can anyone tell what should I have to do to get the expected result? 回答1: