Page 1 of 1

ds_loadlibrary Error

Posted: Wed Sep 28, 2005 10:48 pm
by aolasoji_2
I am try to send an XML message to MQ Stage in a server job but I get the following error:

"ds_loadlibrary: Win32 error in LoadLibrary of mqs.dll - the specified module could not be found"

Does any one have a clue what the problem might be and how to fix it. When I take out the MQ Stage the job seem to work without any problem writing my XML message to disk.

Posted: Thu Sep 29, 2005 7:15 am
by chulett
Don't use this stage, but I vaguely remember you need some portion of MQ Series installed on the DataStage server and it seems to be complaining it can't find it.

If you do have it installed, then its path needs to get added to whatever Windows uses to control that - PATH perhaps? On a UNIX server it would LD_LIBRARY_PATH or SHLIB_PATH for example.

Posted: Thu Sep 29, 2005 6:57 pm
by aolasoji_2
Thanks Craig,

I fixed the problem based on your advice, the solution was to copy the mqs.dll file to the C:\Windows\System32 directory, once that was done the MQ stage worked fine. Thanks again.

Posted: Tue Apr 03, 2007 11:24 am
by Raftsman
We have the same problem and the resolution doesn't work. Are there any other thing we should be looking fo to solve this problem.

Thanks

Posted: Tue Apr 03, 2007 11:26 am
by Raftsman
I should of looked more closely, our problem is related to the PX version. I will post it there.