Saturday, February 9, 2013

Informatica – User Defined Functions



Informatica User Defined Functions are similar to Built-in Functions, where these functions need to be created once and execute multiple times. Transformation logics that are common across the ports are the ideal candidate for User Defined Functions.
Transformation Logic implemented without User Defined Functions
Validation “IIF( ISNULL(LTRIM(RTRIM(INPUT))),’TRUE’,’FALSE’)” is being performed in multiple ports.
The disadvantage with this approach is any changes to this validation need to be done in all the ports.
This can be addressed by creating a User Defined function and have the logic incorporated there.
Steps to Create User Defined Functions
Step 1 : Right-click on the User-Defined Functions folder in a repository folder in the Designer.
Click on “New”
Step 2: In Editor add the transformation logic / validation that needs to be performed.
Click ok and validate the UDF.
User Defined Function – Type:
Public if the function is callable from any expression. Private if the function is only callable from another user-defined function.
To Call User Defined functions from Port:

4 comments:

  1. Nice Article.. Thanks For sharing with us !!!

    Visit - http://tekclasses.in/

    ReplyDelete
  2. Nice Blog Article..
    http://www.informaticaonlinetraining.co/

    ReplyDelete
  3. We are Urgently looking for All subject and All grade Tutors for Teaching USA , UK and Indian Students.

    You profile is looking suitable for our requirement.

    Salary:
    Payments from USA Students: Rs1200 to Rs2500 Per Hour
    Payments from UK Students: Rs1200 to Rs2500 Per Hour
    Payments from INDIAN Students: Rs500 to Rs1500 Per Hour

    Job Type: Home Tuition, Online Tuition, Home work help, Part time tuition, Teaching.

    Please register your profile to Tutors99.com and get the classes for free. Student will call you immediately after registration.

    please complete registration as soon as possible. http://tutors99.com/en/auth/create_user/Tutor

    Regards
    Jasmine Wilson
    Tutors99.com

    ReplyDelete
  4. the informatica tools is easily deployed whose studyied about that it is one of the technical developed platform for those who studyied about informatica .thanks for giving explanation.

    Informatica training in chennai

    ReplyDelete

Thank you :
- kareem