× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 29-Jun-2016 00:25 -0500, praveen reddy wrote:
A Client just upgraded to V7 over the weekend. (Test partition)
Any clue as to what might be wrong? It works well at V5R4.

select […]
from zumadf00 ma
cross join zse0df00
cross join zse2df00
, zse3df00
cross join zse5df00
cross join zkfadf00
, zkg0df00
cross join zse1df00
left join zkt7df00 on g0fano = t7fano
and g0fbcd = t7fbcd
and g0f3cd = t7f3cd
left join znnadf00 a on ma.mapnsn = a.nanacd
[…]

Error is:
Vendor Code: -338 <ed: kwd sqlcode>
Message: [SQL0338] JOIN predicate or MERGE ON clause not valid

Any help is much appreciated.


An issue regarding ambiguous joins [for which previously join order was _assumed_ by the SQL, whereas since, the query must be explicit to pass validation] was documented in the Memo To Users for IBM i 6.1 [aka V6R1]. [https://www.google.com/search?q=MTU+sql0338]


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.