IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

QMF for Windows - Connecting Remote Objects using SQL


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rayandqmf

New User


Joined: 04 May 2005
Posts: 2
Location: Columbus, OH

PostPosted: Wed May 04, 2005 7:05 pm
Reply with quote

Is there a way to join or connect tables from different databases using QMF for Windows? Here is what I'm trying to do, however, I'm getting the SQL -512 Remote Object is Invalid error when attempting to do so. I wasn't sure if there is an option that can be set within QMF for Windows to allow this or maybe the alias is specified differently??? Also, as a side note, I am connected/logged on to both databases at the time I attempt to join tables from both. Here's an example of the SQL I'm running:

SELECT A.ACCOUNT_NBR, B.ACCOUNT_NBR
FROM PRODDB.CUSTOMER_TBL A,
DEVDB.CUSTOMER_TBL B
WHERE A.ACCOUNT_NBR = B.ACCOUNT_NBR

I'm guessing that I probably need to use some other tool to do this, like a datamining one or something. But, it would really be nice if I could do it with QMF. I'm not looking for a tool to do this, I'm just wondering if it can be done with QMF.
Back to top
View user's profile Send private message
chandu_605k

New User


Joined: 17 Apr 2006
Posts: 7
Location: Kansas City

PostPosted: Fri Apr 21, 2006 6:10 pm
Reply with quote

Dear Friend(s),
I have tried with the same type of query in our DB2 Env't. But no use, here also i am getting same problem. See the following error description :

"DSNE625I CONNECT TO LOCATION 'DBOUDVL' PERFORMED, SQLCODE IS 950

DSNT408I SQLCODE = -950, ERROR: THE LOCATION NAME SPECIFIED IN THE CONNECT STATEMENT IS INVALID OR NOT LISTED IN THE COMMUNICATIONS DATABASE ".

There is an option called " CONNECT LOCATION " for For remote SQL processing. I have given the option and tried with that. But those Location names should be defined in our communications DBase. So better to contact your DBA guys or your manager. They can help you.

We can do this remote sql query processing. There is no doubt. But some env't setting problems. Try to find the correct remote location names and try that.

Best Wishes...
CSR
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Getting TWA in CICS program while con... CICS 14
No new posts Starting a remote transaction using a... CICS 0
No new posts De-compile AFP objects IBM Tools 1
Search our Forums:

Back to Top