Friday, November 14, 2008

Questions VII

why did u use update stategy in your application?
Update Strategy is used to drive the data to be Inert, Update and Delete depending upon some condition. You can do this on session level tooo but there you cannot define any condition.For eg: If you want to do update and insert in one mapping...you will create two flows and will make one as insert and one as update depending upon some condition.Refer : Update Strategy in Transformation Guide for more information

What r the options in the target session of update strategy transsformatioin?
Update as Insert:
This option specified all the update records from source to be flagged as inserts in the target. In other words, instead of updating the records in the target they are inserted as new records.
Update else Insert:
This option enables informatica to flag the records either for update if they are old or insert, if they are new records from source.

How do we do unit testing in informatica?
How do we load data in informatica ?
Unit testing are of two types
1. Quantitaive testing
2.Qualitative testing
Steps.
1.First validate the mapping
2.Create session on themapping and then run workflow.
Once the session is succeeded the right click on session and go for statistics tab.
There you can see how many number of source rows are applied and how many number of rows loaded in to targets and how many number of rows rejected.This is called Quantitative testing.
If once rows are successfully loaded then we will go for qualitative testing.
Steps
1.Take the DATM(DATM means where all business rules are mentioned to the corresponding source columns) and check whether the data is loaded according to the DATM in to target table.If any data is not loaded according to the DATM then go and check in the code and rectify it.
This is called Qualitative testing.
This is what a devloper will do in Unit Testing.

How can u complete unrcoverable sessions?
Under certain circumstances, when a session does not complete, you need to truncate the target tables and run the session from the beginning. Run the session from the
beginning when the Informatica Server cannot run recovery or when running recovery might result in inconsistent data.

What is the difference between connected and unconnected stored procedures.
Unconnected:
The unconnected Stored Procedure transformation is not connected directly to the flow of the mapping. It either runs before or after the session, or is called by an expression in another transformation in the mapping.
connected:
The flow of data through a mapping in connected mode also passes through the Stored Procedure transformation. All data entering the transformation through the input ports affects the stored procedure. You should use a connected Stored Procedure transformation when you need data from an input port sent as an input parameter to the stored procedure, or the results of a stored procedure sent as an output parameter to another transformation.
Can we eliminate duplicate rows by using filter and router transformation ?if so explain me in detail .
U can use SQL query for uniqness if the source is Relational
But if the source is Flat file then u should use Shorter or Aggregatot transformation

Can u start a batches with in a batch?
U can not. If u want to start batch that resides in a batch,create a new independent batch and copy the necessary sessions into the new batch.
in the concept of mapping parameters and variables, the variable value will be saved to the repository after the completion of the session and the next time when u run the session, the server takes the saved variable value in the repository and starts assigning the next value of the saved value. for example i ran a session and in the end it stored a value of 50 to the repository.next time when i run the session, it should start with the value of 70. not with the value of 51.
how to do this.
u can do onething after running the mapping,, in workflow manager
start-------->session.
right clickon the session u will get a menu, in that go for persistant values, there u will find the last value stored in the repository regarding to mapping variable. then remove it and put ur desired one, run the session... i hope ur task will be done

How can U create or import flat file definition in to the warehouse designer?
U can create flat file definition in warehouse designer.in the warehouse designer,u can create new target: select the type as flat file. save it and u can enter various columns for that created target by editing its properties.Once the target is created, save it. u can import it from the mapping designer.

What r the different types of Type2 dimension maping?
Type2
1. Version number
2. Flag
3.Date

What are the mapings that we use for slowly changing dimension table?
Type1: Rows containing changes to existing dimensions are updated in the target by overwriting the existing dimension. In the Type 1 Dimension mapping, all rows contain
current dimension data.
Use the Type 1 Dimension mapping to update a slowly changing dimension table when you do not need to keep any previous versions of dimensions in the table.
Type 2: The Type 2 Dimension Data mapping inserts both new and changed dimensions into the target. Changes are tracked in the target table by versioning the primary
key and creating a version number for each dimension in the table.
Use the Type 2 Dimension/Version Data mapping to update a slowly changing dimension table when you want to keep a full history of dimension data in the table. Version numbers and versioned primary keys track the order of changes to each dimension.
Type 3: The Type 3 Dimension mapping filters source rows based on user-defined comparisons and inserts only those found to be new dimensions to the target. Rows
containing changes to existing dimensions are updated in the target. When updating an existing dimension, the Informatica Server saves existing data in different columns
of the same row and replaces the existing data with the updates.

0 comments:

468
Get paid for writing 3-4 paragraphs of article on subjects you have interest. Register Now!!

My Blog List

  • Hi, Join the world recognized MBBS program in Ukraine. You can now earn your MBBS degree at an expense less than 30% by doing it in one of th...
  • A parameter is a variable defined by a method that accepts a value. An argument is a variable that is passed to a method. The default constructor initiali...
  • INTRA NIFTY *f**u**t**u**r**e*S FOR 29.10.09 Hi Friends, Happy to meet you all again. I am going to post my 98% accuracy Nifty *f**u**t**u**r**e*s Intra...
  • Do It Yourself *P**r**o**j**e**c**t* : Menyelenggarakan Multipoint Video Conferencing Menggunakan Skype Gubernur Sulawesi Selatan Berkomunikasi dengan T...
  • A: There is nothing like Virtual Constructor. The Constructor can’t be virtual as the constructor is a code which is responsible for creating an instance o...
  • online internet,online internet business,free online internet,online internet speed,online internet game,online internet jobs,online internet sales,free on...
  • A table scans
  • COMMUNAL DEADLOCK AND A WAY TO SOLVE IT _________________________________________________ Address delivered at the Session of the All India Scheduled Caste...
  • ** The application server is run by the Computer Administration Group at the Mechanical Engineering Departmentt. One of the objectives of this course is ...
  • Knowledge Sharing Forum - Discuss programming, technology, movies, music, video Advanced EJB Interview Questions What is Web Hosting ? How to earn money on...
  • इंडिक ट्रांसलिटरेशन गूगल ट्रांसलिटरेशन इंग्लिश शब्दों को हिन्दी में टाइप करने में मदद करता है। इसकी खासियत है के आप कोई भी हिन्दी शब्द का इंग्लिश स्पेलिंग ...
  • [image: http://delicious.com] Bookmark this on Delicious - Saved by sumedhshende to Knowledge Sharing Forum - Discuss programming technology movies music ...
  • - Q: Can you retrieve a test case once you have deleted them in Test Director? Q: How to use TestDirect like a Dashboard? Q: After creating ...
  • Demo Requirements This session requires 1 machine (called Server1 in this document). * * Minimum Hardware Requirements: Server1 *Processor* 400Mhz ...
  • IE App Compat VHD - Time bomb 4/2009 Posted: 02 Jan 2009 01:18 PM CST VPC Hard Disk Image for testing websites with different IE versions on Windows XP ...
  • This quiz has three parts A-C. In a source file Quiz2_xy.cpp (where “xy” are your initials), write a main program that prompts the user to enter 1 to run P...
  • *Adding DCOM to the Simple Client* To activate our DCOM server we take the basic COM client shell and add some additional methods to make it DCOM-ready....
  • EMCO *M**S**I* Package Builder Enterprise 4.0.4 EMCO *M**S**I* Package Builder Enterprise 4.0.4 - Monitor any system changes using drivers. Monitor and ...
  • BBC World Business News Podcast is retty awesome. It covers international news headlines and US economic headlines as well, and is unique in its addition o...
  • Data types are the most basic elements of any computer language. C# offers the usual data types (built-in as well as user-defined) one expects in a modern ...
  • - FILE SPACING: # double space a file sed G # double space a file which already has blank lines in it. Output file # should contain no more than o...
  • Merge Modules are a feature of Windows Installer that provides a standard method for delivering components, ensuring that the correct version of a compon...
  • Before we begin with main program let us now see how to attach a menu to a blank form. Carry out the following steps: 1. Drag in the 'MainMenu...
  • * Introduction * When you use managed C++, your code is handled by the common language runtime (CLR). That means things like garbage collection and in...
  • By default, ActiveX controls do not support tooltips. This article demonstrates how to add tooltip to an ActiveX control. This control can be used to ad...
  • One way to reuse a component within another component is using *containment*. Another way to do so is using *aggregation*. In *containment* the outer com...