Have you worked with packages?

Showing Answers 1 - 3 of 3 Answers

Ashim Dutta

  • Jul 10th, 2005
 

ashimdutta@yahoo.com 
Multistage transform components by default uses packages. However user can create his own set of functions in a transfer function and can include this in other transfer functions.

  Was this answer useful?  Yes

sekhar

  • Sep 3rd, 2005
 

need more elobirated with example . 
 
thanks 
s

  Was this answer useful?  Yes

Packages are nothing but the reusable blocks of objects like transforms, user defined functions, dmls etc. These packages are to be included in the transform where you use them. For example, consider a user defined function like

/*string_trim.xfr*/

out::trim(input_string)=

begin

let string(35) trimmed_string = string_lrtrim(input_string);

out::trimmed_string;

end

Now, the above xfr can be included in the transform where you call the above function as

include ''~/xfr/string_trim.xfr'';

But this should be included ABOVE your transform function.

For more details see the help file in "packages".

Hope this helps..

Siva Krishna....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions