dbTalk Databases Forums  

SQLSERVER TO AS400

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SQLSERVER TO AS400 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marco
 
Posts: n/a

Default SQLSERVER TO AS400 - 07-02-2003 , 05:10 AM






Hello,
I try to send data from sqlserver 2000 to a remote DB2 as400. The AS400 is
connected with a dedicated line. Now, if i run the DTS package from
Enterprise Manager all is ok. If i run the same package from Query Analizer
or from my application programm it never goes to the end. No response is
given by the DTS.

This is the instruction:

EXEC OD_EXECUTEPACKAGE Server, Package name, User, password

Does anyone know what happen? In which way can i resolve the problem ?

Thanks.

Marco



Reply With Quote
  #2  
Old   
Steve H
 
Posts: n/a

Default Re: SQLSERVER TO AS400 - 07-02-2003 , 11:39 AM






Have you checked the login settings for SQL and DB2? This sounds like you
might have integrated security set. When you are running under SqlEM, you
are interactively running the DTS task under your userid. When running from
the application or Query Analyzer, you are running as a different user
(most likely the same one configured for SQL Agent or if the application is
IIS you are probably looking at the IIS user.


"Marco" <marco.divenuta (AT) omniadata (DOT) it> wrote

Quote:
Hello,
I try to send data from sqlserver 2000 to a remote DB2 as400. The AS400 is
connected with a dedicated line. Now, if i run the DTS package from
Enterprise Manager all is ok. If i run the same package from Query
Analizer
or from my application programm it never goes to the end. No response is
given by the DTS.

This is the instruction:

EXEC OD_EXECUTEPACKAGE Server, Package name, User, password

Does anyone know what happen? In which way can i resolve the problem ?

Thanks.

Marco





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.