adspace


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

Answer Posted / Mitul Saxena

To achieve this, you can use a Session variable to store the previous row's salary and a Script Transformation to update the session variable during each iteration. In the script, access the current row's salary and assign it to the session variable if there is a pervious row. If not, set the session variable to null. Then, in the next transformation, use the session variable to get the previous row's salary.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain scd type 3 through mapping.

1085


How do you remove duplicate records in informatica? And how many ways are there to do it?

1244


1. When u r checking out what ll happens for version no? a. Increase b. decrease c.reset to 0 d. reset to 1 e. no change 2. Salary of all employees needed to add with the commision. What transfrmation to be used? a. SQ and Expression b. SQ c. Update Strategy d. Expression 3. Which of the task is used to run a session based on success of the other session? a. Decision b. Event wait c. Email d. Command e. None 4. Types of sources in Informatica? a. Homogenous n Heterogenous b. None c. Cobol n XML d. Flat files e. Flat files and Homogenous n Heterogenous 5. Servers are available in informatica? a. Informatica Server and Workflow server b. Informatica Server and Informatica Repository Server c. Informatica Server d. Workflow server e. Informatica Repository Server 6. While using Pmcmd in cmd line mode, each command must include the connection info of which of the following? a. workflow manager b. Power Center server c. Workflow monitor d. Repository manager e. Designer 7. Workflow montior displays workflows that have run a. once b. twice c. never d.four times e. thrice 8. Mode for handling sessions n workflows? a. server mode b. Wait mode c. Command line mode d. User mode e. Interactive mode 9. Connection details configured in? a. Mapping designer b. Workflow manager c. Workflow monitor d. Repository manager e. Worklet designer Thanks in Advance

4272


can anybody send me some real time screenshots of mapping in informatica powercenter. i will be vary thankful to him. my e-mail id :- prakashkumar.kumhar@gmail.com

4805


I have two different source structure tables, but I want to load into single target table? How do I go about it? Explain in detail through mapping flow.

1255


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

2428


Explain in detail about scd type 1 through mapping.

1658


EXL informatica Questions

1466


How do you load more than 1 max sal in each department through informatica or write sql query in oracle?

1681


Name at least 5 different types of transformations used in mapping design and state the use of each.?

1224


How to create the source and target database connections in server manager?

1151


Write the unconnected lookup syntax and how to return more than one column.

1182


What is dimensional table? Explain the different dimensions.

1277


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

1211


What is dimensional table?

1177