Calling 'DLL' from DataStage routine

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
yaminids
Premium Member
Premium Member
Posts: 387
Joined: Mon Oct 18, 2004 1:04 pm

Calling 'DLL' from DataStage routine

Post by yaminids »

Hello there,
I am trying to call a 'DLL' from a routine. Is it possible to do so.
Thanks in advance.
-Yamini
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Re: Calling 'DLL' from DataStage routine

Post by ogmios »

On UNIX... no.

Ogmios
In theory there's no difference between theory and practice. In practice there is.
sonia jacob
Participant
Posts: 122
Joined: Mon Jul 05, 2004 1:33 pm
Location: MA

Re: Calling 'DLL' from DataStage routine

Post by sonia jacob »

ogmios wrote:On UNIX... no.

Ogmios
my apologies if the discussion is taken in a different direction.

So Ogmios, does that mean its possible on windows. If so how?
Regards
Sonia Jacob
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Re: Calling 'DLL' from DataStage routine

Post by ogmios »

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
In theory there's no difference between theory and practice. In practice there is.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yaminids
Premium Member
Premium Member
Posts: 387
Joined: Mon Oct 18, 2004 1:04 pm

Calling 'DLL' from DataStage routine

Post by yaminids »

Hello there,

Thank you all for your help.

-Yamini
Post Reply