GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Abinitio
Go To First  |  Previous Question  |  Next Question 
 Abinitio  |  Question 192 of 200    Print  
what is the function of XFR in abinitio
It would be great if one of you can explain me in brief what is the function of xfr (like what does it do ,where is it stored ,how does it affect ) as i am very confused on this

thank you



  
Total Answers and Comments: 3 Last Update: November 14, 2009     Asked by: malhotraa08 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: sixto.dsilva
 
As you know when you create a new sandbox in ab initio environment the following directories will be created
1.mp
2.dml
3.xfr
4.db
etc etc.

xfr is directory in abinitio where we can write our own function and use them during the tranformation(rollup , reformat etc..).

example you can write a function to convert a string into decimal or to get string max length  , I can write that function in a file called  user_define_function.xfr  in xfr directory   inside this file i can define a function called string_to_interger or get_string_max_length or both. In any transform component you can include the file liek
include "<full path>/user_define_function.xfr "

you can called the function like anyother function in ab initio.

hope it make sense.

Above answer was rated as good by the following members:
harsha016
July 20, 2008 11:49:21   
sixto.dsilva Member Since: March 2008   Contribution: 61    

RE: what is the function of XFR in abinitio
As you know when you create a new sandbox in ab initio environment the following directories will be created
1.mp
2.dml
3.xfr
4.db
etc etc.

xfr is directory in abinitio where we can write our own function and use them during the tranformation(rollup reformat etc..).

example you can write a function to convert a string into decimal or to get string max length I can write that function in a file called user_define_function.xfr in xfr directory inside this file i can define a function called string_to_interger or get_string_max_length or both. In any transform component you can include the file liek
include "<full path>/user_define_function.xfr "

you can called the function like anyother function in ab initio.

hope it make sense.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
December 10, 2008 03:39:16   
smarty.malik Member Since: May 2008   Contribution: 1    

RE: what is the function of XFR in abinitio
The XFR usually stores the mappings in the text view. Usually these mappings are generalised. In the Transformation of any component these XFR's can be called and abi nitio will automatically do the specified mapping as stored in XFR. The main benefit of XFR is that you dont have to re write the code for mapping again and again also more that one component can use at the same time in their transform tab which saves time and labour.
 
Is this answer useful? Yes | No
November 14, 2009 05:18:18   
Shireesh Member Since: November 2009   Contribution: 1    

RE: what is the function of XFR in abinitio
XFR is used for externalizing a transform/function. A function which needs to be reused at multiple places can be created as a common XFR instead of writing the same code again and again.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape