dbTalk Databases Forums  

Re: SQLCode -512

ibm.software.db2.mvs ibm.software.db2.mvs


Discuss Re: SQLCode -512 in the ibm.software.db2.mvs forum.



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

Default Re: SQLCode -512 - 12-29-2004 , 04:12 PM






In article <cqv8nd$4qcc$1 (AT) news (DOT) boulder.ibm.com>, etpcorp (AT) yahoo (DOT) com says...
Quote:
I attempt the following:

select * from my.table1
union
select * from remote.my.table1

and I get sqlcode -512: The query reference to a remote object is invalid.

Can you post the contents of your SQLCA when you get the -512? In an
application program you can call DSNTIAR to format the SQLCA.

You may also want to apply PQ85022.

But, the ultimate answer is to call IBM and open a PMR.

--
Dougie Lawson
IBM Farnborough, UK

http://web.ukonline.co.uk/dougie.lawson


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 - 2013, Jelsoft Enterprises Ltd.