Hello there,
I am trying to call a 'DLL' from a routine. Is it possible to do so.
Thanks in advance.
-Yamini
Calling 'DLL' from DataStage routine
Moderators: chulett, rschirm, roy
Re: Calling 'DLL' from DataStage routine
On UNIX... no.
Ogmios
Ogmios
In theory there's no difference between theory and practice. In practice there is.
-
- Participant
- Posts: 122
- Joined: Mon Jul 05, 2004 1:33 pm
- Location: MA
Re: Calling 'DLL' from DataStage routine
my apologies if the discussion is taken in a different direction.ogmios wrote:On UNIX... no.
Ogmios
So Ogmios, does that mean its possible on windows. If so how?
Regards
Sonia Jacob
Sonia Jacob
Re: Calling 'DLL' from DataStage routine
If your DataStage server runs UNIX, you're out of luck for sure. And most of my DataStage experience is on UNIX.
For your question maybe have a look at viewtopic.php?t=87402
Ogmios
For your question maybe have a look at viewtopic.php?t=87402
Ogmios
In theory there's no difference between theory and practice. In practice there is.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
So Ogmios, does that mean its possible on windows. If so how?
The mechanism is the GCI (General Calling Interface). You need to set up a function definition (so that, when the function is called, data types can be converted from/to DataStage's "typeless" environment. This GCI definition must exist in a GCI file.
Within the administrator's account there is a menu called GCI.ADMIN; or you can learn all the underlying commands.
It can also be done on UNIX, except that it's not DLLs that you invoke; it's shared libraries, and there are more steps; among them the need to re-build your dssh executable (which is fraught with danger if not done right, and is likely to have your support provider make the sign that wards off the evil eye!).
Although Ascential does not publish any information about the GCI it is available within the product. Guidance can be found in the
UniVerse GCI Guide which is available at no charge from IBM.
The mechanism is the GCI (General Calling Interface). You need to set up a function definition (so that, when the function is called, data types can be converted from/to DataStage's "typeless" environment. This GCI definition must exist in a GCI file.
Within the administrator's account there is a menu called GCI.ADMIN; or you can learn all the underlying commands.
It can also be done on UNIX, except that it's not DLLs that you invoke; it's shared libraries, and there are more steps; among them the need to re-build your dssh executable (which is fraught with danger if not done right, and is likely to have your support provider make the sign that wards off the evil eye!).
Although Ascential does not publish any information about the GCI it is available within the product. Guidance can be found in the
UniVerse GCI Guide which is available at no charge from IBM.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Calling 'DLL' from DataStage routine
Hello there,
Thank you all for your help.
-Yamini
Thank you all for your help.
-Yamini