Redistributing DataStage Development Kit Applications

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
SPA_BI
Premium Member
Premium Member
Posts: 36
Joined: Tue Aug 29, 2006 8:01 pm
Location: Melbourne

Redistributing DataStage Development Kit Applications

Post by SPA_BI »

Hi, in the document it says:
If you want to run the application from a computer used as a
DataStage client, you should redistribute the following library with
your application:
vmdsapi.dll
This file refers to the 'C:\Program Files\Ascential\DataStage7.5.1\vmdsapiENU.dll" right?

Also, we run server on Unix and clients on windows.
from SPA_BI
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not necessarily. For example it might be vmdsapiJPN.dll if you're redistributing in Japan.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
SPA_BI
Premium Member
Premium Member
Posts: 36
Joined: Tue Aug 29, 2006 8:01 pm
Location: Melbourne

Post by SPA_BI »

Hi,

If I redistribute in English speaking countries, vmdsapiENU.dll will do, right?

Also, do I just need to place the dlls (DSCLNT32.DLL, dsrpc32.dll and vmdsapi.dll) in the same directory as the compiled executable? I suspect I'm not putting them in the right place as I'm getting the following linking error:
1>DataStageLib.obj : error LNK2001: unresolved external symbol "extern "C" int __cdecl DSGetLastError(void)" (?DSGetLastError@@$$J0YAHXZ)
1>\\rchfil100\users$\kevxu\Visual Studio 2005\Projects\DataStage Lib\Debug\DataStageLib.dll : fatal error LNK1120: 1 unresolved externals
I'm using Visual Studio C++ Express.
from SPA_BI
SPA_BI
Premium Member
Premium Member
Posts: 36
Joined: Tue Aug 29, 2006 8:01 pm
Location: Melbourne

Post by SPA_BI »

Hi,
Anyone one else ever came across this link error before?
from SPA_BI
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, never had a need to play this game.

I'd suspect, based on your 'unresolved externals' error, that it's not about putting them in the right place, but about having the right runtime libraries.
-craig

"You can never have too many knives" -- Logan Nine Fingers
SPA_BI
Premium Member
Premium Member
Posts: 36
Joined: Tue Aug 29, 2006 8:01 pm
Location: Melbourne

Post by SPA_BI »

I thought those datastage api functions are supposed to be DLL imported so the compiler shouldn't be trying to link those functions.

Did anyone get this to work, ever?
from SPA_BI
Post Reply