Page 1 of 1

fatal error when using a BCP load stage

Posted: Tue Feb 20, 2007 10:40 pm
by vij
From this forum, i came to know that I can use a BCP Load Stage to do a Bulk Load on MS SQL SERVER DB.

So, I created a server job to do a bulk load and I got this error - "nameof the job..name of the stage: Could not load dssybctl.so"

In the client library column, I have used the default value - SYBCTLIB.

Is there anything I miss, please help me.

Note - I am using- SQL server 2005 and is it expecting any Sybase client? If so, should I install something?Please let me know this also.

Thanks in advance!!!

Posted: Tue Feb 20, 2007 10:44 pm
by ray.wurlod
Where is SYBCTLIB ? Is this directory in your shared library search path (your LD_LIBRARY_PATH, LIBPATH or SHLIB_PATH environment variable)?

Posted: Tue Feb 20, 2007 11:18 pm
by vij
Thanks Ray!

I have no idea, but when I click the "property help" option seen on the stage-> properties of BCP Load Stage, It says,
when Loading into sybase,you have the choice of using either the sybase DBLIB client library or the CTLIB client library depending on what you have installed. when using the sybase DBLIB client library set this property to SYBDLIB, if using the Sybase CTLIB then set this property to SYBCTLIB
, and so I tried both the libraries, but it didnt work.

Posted: Tue Feb 20, 2007 11:45 pm
by vij
Now I have a new question in my mind, Is this BCP stage can b used on my UNIX based DataStage? :?:

Posted: Wed Feb 21, 2007 12:13 am
by ray.wurlod
Use a UNIX find command to determine where SYBCTLIB is located. Make sure that its parent directory is included in your shared library search path.