my sourse is like id name sal--1 aa 1000 ,2 bb 2000, 3 cc 3000
4 dd 4000, 5 ee 6000 , 6 ff 7000 and so on but myrequirement
is like this id name sal up_sal,1 aa 1000 null,2 bb 2000
1000, 3 cc 3000 2000
4 dd 4000 3000, 5 ee 5000 4000 , 6 ff 6000 50000 and so on

so how can i get it plez reply for this as soon as possible
, thanks in advanced

Answer Posted / ankit kansal

Hi,
If you are not sure about the id's sorting order

count = count+1
v_sal = IIF(count=1,null,v_prev_sal)
v_prev_sal = sal
out_sal = v_sal

http://deepinopensource.blogspot.com/

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to extract sap data using informatica?

787


How to use procedural logic inside infromatica?

845


Why update strategy and union transformations are active?

797


How to go to the older version for a mapping?

797


Parameter and variable differences

1824


Did u used latest transformations of 8.6.0? for what?

1643


Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?

1004


Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?

862


Differentiate between router and filter transformation?

793


How to configure mapping in informatica?

888


How can you differentiate between powercenter and power map?

829


What is the way to execute pl/sql script using informatica mapping?

1220


What is a sequence generator transformation?

760


What is meant by LDAP users?

864


Explain lookup transformation is active in informatica

844