Subscribe

By RSS
By Email

Delivered by FeedBurner

Recent Comments

    • Piyush K - Can we dynamically change the Mouse over text of a…Can we dyn
    • mutyala rao - This doesn't run on OS390 process scheduler?…This doesn
    • XML - HI, Please send the documention on XML Publisher to following email…HI, Please
    • XML - Hi, Please send any documention on XML Publisher. Thanks, Sridhara Raju…Hi, Please
    • Ketan Benegal - Have you published the second part of this blog?? Interested…Have you p

Ask the Experts – 51

By Nitin Pai on December 2nd, 2008 under Ask the Expert.

Hi,

I am writing an interface SQR to connect 2 databases. We have created ODBC connection, and using the -db connection string variable for select/sql statements.

The program runs correctly with SQRW. While running in Porcess Scheduler, I am getting the error message as “Could not connect to datasource specified in -db variable: ‘DSN =; UID=;PWD=”. It picks up the DSN connection string perfectly.

Is there any security related things blocking the SQR to run in Process Scheduler? I suppose the DB LINK has to be mentioned somewhere in App Server. It runs perfectly with SQRW. What settings needed to run in 3-tier?
Please update.

Thanks.

Thanks for posting your question!

 

-          Since you are running the SQR using the process scheduler, you will need to ensure that you can connect to the TARGET database from the server on which the process scheduler is configured. So please verify connectivity from the server.

-          Alternatively, it is recommended to create database link instead of providing this information in the SQR. You can create a SYNONYM to mask the database link.

 

Thanks

 

Nitin Pai

 

 

 

 

Bookmark and Share

Comments:none;



Comments are closed.