Link to home
Start Free TrialLog in
Avatar of George Michael
George Michael

asked on

CT-LIBRARY error when connecting with isql.exe

We need to insert the DB scripts through DB2 connect method to other database. The insert script will be executed by isql.exe package. While login to the isql, the below error message throws.

ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.

The below mentioned query is executed query in isql.exe.

C:\Sybase\OCS-15_0\bin\isql.exe + " -S " +server name of database + " -U " +user name + &
//" -P " +password + " -input sql file test_insert.sql -output result test_out.txt".

Could you please help me to fix this issue.

Many thanks for your help.

Thanks and Regards
George
Avatar of Thommy
Thommy
Flag of Germany image

Open command prompt and ping your database server.

Do you get response from the server?
Please post the isql command exactly how run it
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.