top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Nested Parameters in Informatica

+1 vote
290 views

I want to see number of affected rows of my target table. For that, I can write a shell script in which I pass a parameter as $PM@numAffectedRows. However, if my target table name is parameterized and I want to pass that in the same shell, how can I do that?

Eg. $ParamTgtTable=myTable When I pass $PM'$ParamTgtTable'@numAffectedRows in the shell script, it echos myTable@numAffectedRows. If I pass the same without the quote as $PM$ParamTgtTable@numAffectedRows, I get $ParamTgtTable@numAffectedRows as my output.

Is there any workaround for this? Appreciate your help on this.

posted Jun 13, 2014 by Sachin

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

1 Answer

0 votes

As per my understanding, the 'parametrized target name' you've mentiond refers to 'Target Table' property on Target Transformation. What you need to use is the latter: name of the Target Transformation. This is something where parameters are not allowed.

answer Jun 16, 2014 by Shweta Singh
Similar Questions
+1 vote

What is the difference between $myvar and $$myvar parameters in Informatica PowerCenter?

+3 votes

What is the difference between $myvar and $$myvar parameters in Informatica PowerCenter?

0 votes

My source data is :

ID TimingID Timingtype
1 100 supplier
1 102 dealer
1 103 dealer
2 200 xyz
2 205 abc

I want my target to be like this :
ID T1_TimingID T1_Timingtype T2_TimingID T2_Timingtype T3_TimingID T23_Timingtype
1 100 supplier 102 dealer 103 dealer
2 200 xyz 205 abc null null

Kindly suggest.

Regards
Sandeep Nanda

...