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] Suppress error messages

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Suppress error messages
 Login/Join
 
Silver Member
posted
How can I suppress a FOC1072 DUPLICATES IN JOIN 'FROM' FIELD error message? It is not actually an error that prevents the data from retrieving, but for large data sets it causes the report to fail because of the number of error messages.

This message has been edited. Last edited by: <Kathryn Henning>,


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Platinum Member
posted Hide Post
Hi,
It sounds like you are joining from a "flat" file e.g. a text file.
If so, perhaps you should use a different format for the "from" file? e.g. a FOCUS DB?


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Silver Member
posted Hide Post
I am using a flat file because I am joining multiple fields.


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Expert
posted Hide Post
Duplicates in JOIN "FROM" field mandates a LEFT_OUTER or MATCH:

JOIN LEFT_OUTER COL_NAME IN FILE_NAME TO ALL COL_NAME IN FILE_NAME AS J1

or

Use MATCH


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Silver Member
posted Hide Post
I am using a left outer join.

JOIN
LEFT_OUTER SCANSHOLD2.SCANSHOL.PERIOD_WEEK AND SCANSHOLD2.SCANSHOL.USERNAME AND SCANSHOLD2.SCANSHOL.CONSOLID IN SCANSHOLD2
TO MULTIPLE TEMPHOURS2.TEMPHOUR.PERIOD_WEEK AND TEMPHOURS2.TEMPHOUR.USERNAME AND TEMPHOURS2.TEMPHOUR.CONSOLID
IN TEMPHOURS2 TAG J8 AS J8
END


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Virtuoso
posted Hide Post
Is the joined-to file also a flat file? In a flat-to-flat, the composite key must be strictly increasing in value.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Silver Member
posted Hide Post
Yes, it is flat to flat.


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Virtuoso
posted Hide Post
Here are three approaches to try:

  • use MATCH FILE
  • create Focus files with the catenated join keys as a single field, indexed on the TO side
  • use Focus files, with a condition-based join.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Silver Member
posted Hide Post
I am looking for a way to suppress the error message, not redo my code.


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Expert
posted Hide Post
There's no way to suppress the error without redoing your code.

The only WebFOCUS error/warning message you can suppress is FOC144, using the FOC144 command: SET FOC144 = {NEW|OLD}.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
quote:
...use Focus files, with a condition-based join...

Even though I've used the conditional join for relational data sources, it is still ingrained in me that for FOCUS you need an equijoin (plus restriction to only one cross-refrenced field).

Thanks for the bump on the head, that the conditional join is supported for FOCUS.

This message has been edited. Last edited by: David Briars,
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
Jack is right, Twanette is right, Francis is right, Tom is right ....

As always ...


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report 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] Suppress error messages

Copyright © 1996-2020 Information Builders