Page 1 of 1

How & Where do we plug-in C or C++ code in Datastage?

Posted: Tue Aug 01, 2006 11:36 pm
by iamnagus
I going to work on the specified requirement. This is new requriment to me. I just want to know the procedure about this in advance. Can any one guide me please?

Thanks & Regards,

Posted: Wed Aug 02, 2006 12:02 am
by kumar_s
Custome - Routines.
From Designer/Manager, right click on routines and Say New Routines.
There you may need to configure the compiled object code of the C++ program.

Posted: Wed Aug 02, 2006 1:03 am
by lstsaur
Import the TrxFuncExamples.dsx from the server's Samples\TrxExternalFunctions\Linux folder. The MAKE file gives you pretty good details regarding how to compile your C++ code.

Posted: Wed Aug 02, 2006 3:25 pm
by bcarlson
Where does this sample reside? When I try to search for a directory named Samples in $APT_ORCHHOME, or even at the highest level (/apps/Ascential), I cannot find it.

Brad.

Posted: Wed Aug 02, 2006 5:03 pm
by lstsaur
Hi Brad,
With my installation, it's under the /opt/Ascential/DataStage/Samples.
Maybe the installer at your shop did not install this? You still can get it from the DataStage's CD.

Posted: Wed Aug 02, 2006 5:19 pm
by bcarlson
I double checked and cannot find it. I don't think it got installed here. While I personally don't have access to the CD, I have sent this on to our Infrastructure group to see if we can get it installed.

Thanks for the information!

Brad.