Integrating Connect:Direct with Sql Server DTS

0 pts.
Tags:
SQL Server
SQL Server 2000
T-SQL
Don't know if any body has managed to - but i need to start a C:D process from within a DTS script. all the components are working independantly - however DTS waits indefinitely for the C:D process to finish - it does not seem to receive the return code. (or process it properly) Any Help/ideas much appreciated. I have set the time out value and this terminates the process - however it shows as failing which does not impress teh DBA! Thanks
ASKED: May 24, 2005  8:10 AM
UPDATED: May 25, 2005  4:14 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Have you tried to capture and display the C:D return code?

In a MSDOS .BAT file the syntax is:

set rc=%ERRORLEVEL%
if “%rc%”==”0″ goto next_step
echo Non-zero Return Code is %rc%
:next_step

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TATWORTH
    Could it be a permissions issue, that is your account has permission to make the connection but the SQL Agent account does not?
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following