C++ functions in C routine

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
legendkiller
Participant
Posts: 60
Joined: Sun Nov 21, 2004 2:24 am

C++ functions in C routine

Post by legendkiller »

Hi,

Can expression file of transform operator supports C ++ function. Documentation says that it supports C function but I need information about C++ function.

Thanks
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

What kind of function you are trying to use?

When u r using transformer, my gut feeling says that it will throw compile error warning if u use any such functions.
reason: when the transformer is compiled, PX first converts the current code into C++ code and then C++ compiler comes into picture. So even though there are funtions like StringToDecimal shown in transformer, these are converted to internal functions like decimal_from_string function by PX and then C++ compiler comes into picture and compiles these functions.

This is just a guess and may be correct or may not be.
Regards,
S. Kirtikumar.
Post Reply