cancel
Showing results for 
Search instead for 
Did you mean: 

connection from windows to os400/db4 failed

Former Member
0 Kudos

Hi SDN,

We're trying to connect our BW system under WIN/MSSQL 2005 to an source system (RSA1) witch is an DATABASE DB4 on OS400.

when we check the database connection, it gave us the error

No shared library found for the database with ID DBID

in SM21 we've found

As well as the standard connection, an attempt was made to set up

another database connection, under the specified ID. The Shared Library

for this second database could not be found.

The Shared Library is usually found in the the Executable

directory (profile parameter DIR_LIBRARY) under the name dbs

<dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>

stands for the operating system-specific extension of the Shared

Libraries.

The database type is determined from the entry that corresponds to the

specified DB ID in the table DBDCON. Check whether the data in this

entry is correct.

after download dbdb4slib.dll and copied it to kernel directory, it gave this error message (same as when this library does not exist)

B create_con (con_name=DBID)

B Loading DB library 'E:\usr\sap\SID\SYS\exe\run\dbdb4slib.dll' ...

M *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SID\SYS\exe\run\dbdb4slib.dll) Error 126 http://dlnt.c 237

M Error 126 = "The specified module could not be found."

B *** ERROR => Couldn't load library 'E:\usr\sap\SID\SYS\exe\run\dbdb4slib.dll'

http://dbcon.c 4672

B ***LOG BYG=> could not load library for database connection DBID dbds#3 @ 1035 dbds 1035

someone has some idea?

thanks in advance,

Pedro Rodrigues

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Just taking a stab at this, but there should be a corresponding "pdb" file to the "dll" file you downloaded.

Have you tried putting everything in the DB-specific kernel download file into the kernel directory, instead of just the dll file?

Former Member
0 Kudos

Hi Kevin,

yes, I've tryed that and pdb file is there!

I found a document that tell that we'll need "Iseries access for windows" installed on windows, we are trying this way too but no success until now!

thanks

Best Regards

Pedro

JanStallkamp
Employee
Employee
0 Kudos

Hi.

Yes, beside the DBSL you need to install a database client on the windows side. I would suggest you ask this question in the 'SAP on DB2 for i5/OS' forum. There was a [similar thread|; just some days ago.

Then I would like to point to SAP Notes 523381 and 146624.

Best regards,

Jan Stallkamp