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

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
iamnagus
Participant
Posts: 48
Joined: Wed Sep 29, 2004 1:16 am

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

Post 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,
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post 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.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post 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.
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Post 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.
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post 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.
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Post 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.
Post Reply