|
| Total Answers and Comments: 3 |
Last Update: November 14, 2009 Asked by: malhotraa08 |
|
| | |
|
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 | Go To Top
|