Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] getting error while joining the master files

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] getting error while joining the master files
 Login/Join
 
Gold member
posted
Hi All,
I am getting error while joining the master file .Please find below code for your refernce.

SQL
SELECT DISTINCT QRY1.REGION_CODE AS REGION_CODE,
QRY1.REGION_NAME AS REGION_NAME,
QRY1.PRODUCTLINE_CODE AS PRODUCTLINE_CODE,
QRY1.REGION_CODE || ' ' || QRY1.PRODUCTLINE_DESC AS PRODUCTLINE_DESC,
QRY1.PLANT_CODE AS PLANT_CODE,
QRY1.PLANT_NAME AS PLANT_NAME,
QRY2.CATEG_CODE AS CATEG_CODE,
QRY2.CATEG_DESC AS CATEG_DESC,
QRY3.TARGET_CODE AS TARGET_CODE,
QRY3.TARGET_DESC AS TARGET_DESC
FROM
(SELECT DISTINCT VCRM.REGION_CODE,
VCRM.REGION_NAME,
VCPLM.PRODUCTLINE_CODE,
VCPLM.PRODUCTLINE_DESC,
VCPM.PLANT_CODE,
VCPM.PLANT_NAME
FROM VIN_CORE_PLANT_MST VCPM,
VIN_CORE_PRDLINE_DTL VCPLD,
VIN_CORE_PRDLINE_MST VCPLM,
VIN_CORE_REGION_MST VCRM

WHERE VCPM.PLANT_CODE = VCPLD.PRODUCTLINE_PLANT_CODE
AND VCPLM.PRODUCTLINE_CODE = VCPLD.PRODUCTLINE_CODE
AND VCRM.REGION_CODE = VCPLM.PRODUCTLINE_REGION
AND (VCPM.PLANT_INACTIVE_DATE IS NULL OR VCPM.PLANT_INACTIVE_DATE > NOW)) QRY1,
(SELECT distinct VCPDGP.PRODMAP_PARENT_CODE,
VCPPM.PRODMAP_PLNT_CODE,
VCCM.CATEG_CODE,
VCCM.CATEG_DESC
FROM
VIN_CORE_PRODGRP_MAP VCPDGP
LEFT JOIN VIN_CORE_PRDGRPPRT_PLANT_MAP VCPPM
ON VCPDGP.PRODMAP_ID = VCPPM.PRODMAP_PRDGRP_CODE
LEFT JOIN VIN_CORE_CODE_MST VCCM
ON VCCM.CATEG_CODE = VCPDGP.PRODMAP_CHILD_CODE
AND VCPDGP.PRODMAP_PARENT_LEVEL = 1
AND VCPDGP.PRODMAP_CHILD_LEVEL = 2
AND VCPPM.PRODMAP_PLNT_CODE IS NOT NULL
AND VCCM.CATEG_TYPE = 'PRDGRP')QRY2,
(SELECT SOURCE_CODE,
TARGET_CODE,
TARGET_DESC
FROM VIN_PRODUCT_MAS )QRY3
WHERE
QRY1.PRODUCTLINE_CODE = QRY2.PRODMAP_PARENT_CODE
AND QRY1.PLANT_CODE = QRY2.PRODMAP_PLNT_CODE
AND QRY1.REGION_CODE = QRY3.SOURCE_CODE;
TABLE ON TABLE HOLD AS HLD_RES_1
END
-*Hold file HLD_RES_1 ends
TABLE FILE HLD_RES_1
PRINT *
END
-EXIT

Error :-(FOC14013) OUTER JOIN GENERATION (ONLY EQUIJOINS ALLOWED) IS NOT SUPPORTED

Please let me know how can i resolve.

Thanks,
Raghu

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.7
Windows
Excel, PDF, HTML
 
Posts: 56 | Registered: February 04, 2010Report This Post
Virtuoso
posted Hide Post
What kinds of tables are these? Are they different types?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
As you are issueing an SQL command. but not specifying the data source, then you are relying on the internal capabilitis of WebFOCUS with SQL.

If the source is a relational one, then specify file type.

i.e. for oracle it would be SQL SQLORA...

This is called SQL Passthrough. The SQL is passed directly to the RDBMS


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
I have the same problem.
The documentation states the SQL Translator supports LEFT OUTER JOINs and furthermore than it is ANSI Level 2 compliant.
If so, why is
[1] something as basic as a LEFT JOIN not supported and
[2] has this been fixed in a future version
(Focus 7.6)

As of my version of FOCUS it is far from ANSI Level 2 compliant.

Any comments from IBI?


Focus 7
 
Posts: 13 | Registered: May 17, 2015Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] getting error while joining the master files

Copyright © 1996-2020 Information Builders