Suppose we are expecting a date field to be populated in YYYYMMDD format but it is populating in DDMMYYYY format.Then using debugger we can check in which expression or source qualifier the data is coming wrong.
While using the debugger it's better to restrict the data to lesser records(preferably single record) i.e. we can restrict at SQ level by passing condition e.g where emp_id='1001' so as to get only 1001 record.
In designer under mappings tab we need to click debugger.Then start debugger (F9) after which we will be getting option to choose integration service and we will be having three options.
a) use an existing session instance
b) use an existing reusable session instance
c) create a debug session instance.
we can click the existing session instance. After which it will ask for select session and then ask for which all targets are needed. We can select all the Target's or any particular one of which we want to view data.
Then the debugger gets started. We need to press F10 to move from one transformation to another if we want to jump directly to a particular transformation then we need to press ctrl + F10 after selecting that particular transformation.
If we have multiple rows then we need to press multiple time ctrl+f10 to view all the records say we have 5 records and we want to see all the 5 records then we need to press 5 times to view all the 5 records.
Debugger will be looking like below
We can stop debugger by again going to mappings tab.
Note:once we stop debugger we can see in wf monitor that particular session would be in failed state.
Hope this article helps you in understanding debugger
Really nice blog post. provided helpful information. I hope that you will post more updates like thisInformatica Training
ReplyDelete