Presentation is loading. Please wait.

Presentation is loading. Please wait.

10 Copyright © 2009, Oracle. All rights reserved. Using the Mapping Debugger.

Similar presentations


Presentation on theme: "10 Copyright © 2009, Oracle. All rights reserved. Using the Mapping Debugger."— Presentation transcript:

1 10 Copyright © 2009, Oracle. All rights reserved. Using the Mapping Debugger

2 Copyright © 2009, Oracle. All rights reserved. 10 - 2 Objectives After completing this lesson, you should be able to do the following: Initialize a mapping debugging session Prepare the testing environment and test data Set breakpoints and watch points Run a test mapping Evaluate the flow of data to detect mapping errors

3 Copyright © 2009, Oracle. All rights reserved. 10 - 3 Lesson Agenda Mapping Debugger –Interface and toolbar Steps to debug a test mapping

4 Copyright © 2009, Oracle. All rights reserved. 10 - 4 Mapping Debugger: Overview 1.Initialize a mapping debugging session. 2.Connect to test source and target schemas. 3.Define test data. 4.Create debugging target tables to protect actual targets. 5.Set breakpoints and watch points. 6.Run a test mapping. 7.View data flowing through the mapping to correct errors.

5 Copyright © 2009, Oracle. All rights reserved. 10 - 5 Mapping Debugger You use the debug mode to step through this simple mapping with test data. Debug Start button Debugger toolbar

6 Copyright © 2009, Oracle. All rights reserved. 10 - 6 Lesson Agenda Mapping Debugger –Interface and toolbar Steps to debug a test mapping

7 Copyright © 2009, Oracle. All rights reserved. 10 - 7 Warning: Not All Test Data Found

8 Copyright © 2009, Oracle. All rights reserved. 10 - 8 Test Data Tab Shows Tables Not Found Test data not found for source and target table operators Before you can run the mapping in the debug mode, each listed source or target operator must be bound and have a check mark. Use the Edit button to add or change the binding of an operator.

9 Copyright © 2009, Oracle. All rights reserved. 10 - 9

10 Copyright © 2009, Oracle. All rights reserved. 10 - 10 Operator Debug Binding Dialog Box Search for PRODUCTS database table to bind with mapping table operator. You know PRODUCTS is in XSALES schema; SELECT XSALES_LOCATION Select PRODUCTS and click OK

11 Copyright © 2009, Oracle. All rights reserved. 10 - 11 Direct Access to Database Entity The debug binding name is the name of the entity, plus any needed qualifiers for database link or schema.

12 Copyright © 2009, Oracle. All rights reserved. 10 - 12 Define the Other Source Table PRODUCTS is “found”; now find the CATEGORIES table.

13 Copyright © 2009, Oracle. All rights reserved. 10 - 13 Replace Target with a Debugging Table Now that the two source tables are found, edit the target to replace it with a temporary debugging table.

14 Copyright © 2009, Oracle. All rights reserved. 10 - 14 Create a Copy of the Target Table Activates the buttons below

15 Copyright © 2009, Oracle. All rights reserved. 10 - 15 Reinitialize the Debug Session Reinitialize

16 Copyright © 2009, Oracle. All rights reserved. 10 - 16 Reinitializing the Session If there are multiple sources, you are prompted to pick the leading source. The Messages tabbed page reports on the progress as the debug package generates and deploys.

17 Copyright © 2009, Oracle. All rights reserved. 10 - 17 Set Breakpoints and Watch Points Set Breakpoint Set Watch

18 Copyright © 2009, Oracle. All rights reserved. 10 - 18 Watch Panel For Non-Data-Based Operators A separate Watch panel is invoked to watch data for non-data- based operators such as Constant, Map Input, Map Output, Premap, Postmap, and Sequence.

19 Copyright © 2009, Oracle. All rights reserved. 10 - 19 Quiz When you are testing a mapping using the Mapping Debugger, you should change the actual target table to a test target table in the mapping. a.True b.False

20 Copyright © 2009, Oracle. All rights reserved. 10 - 20 Quiz After you have set the data sources and targets, which of the following tasks must you perform to restart debugging? a.Resume b.Reinitialize c.Break d.Watch

21 Copyright © 2009, Oracle. All rights reserved. 10 - 21 Summary In this lesson, you should have learned how to: Initialize a mapping debugging session Prepare the testing environment and test data Set breakpoints and watch points Run a test mapping Evaluate the flow of data to detect mapping errors

22 Copyright © 2009, Oracle. All rights reserved. 10 - 22 Practice 10-1 Overview: Using the Mapping Debugger This practice covers the following topics: Initializing the Mapping Debugger with test data Using the Mapping Debugger to analyze the flow of test data across a mapping Fixing mapping errors and retesting with Mapping Debugger


Download ppt "10 Copyright © 2009, Oracle. All rights reserved. Using the Mapping Debugger."

Similar presentations


Ads by Google