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.
The keyfld matches the DB2 name in the MFD for Main. The ixfld matches the DB2 name in the MFD for Smalltab (not shown).
This works fine as long as keyfld and ixfld are the same format. If ixfld is I6,I4 (smallint in Db2) but keyfld is A3,A3, of course it doesn't work. I tried putting DEFINE BUSINESS_NR/I6 = EDIT(BUSINESS_CD) after the field in MFD Main seg and using it as keyfld. Doesn't work. Any suggestions, please?
Phyllis, would the WITH command in your JOIN work for you? Read up on "Define-based Joins" When you define a field for the basis of your join Instead of JOIN key IN file1 TO key IN file2 AS J1 JOIN definedfield WITH key IN file1 TO somekey IN file2 AS J1
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
DB2 doesn't like you trying to change formats on it in the MFD. However have you looked into define based join as an option? We have to do so due to differences in how school codes are stored in different tables, one place A7, another I9.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Koslo, In a multi-table master you must have same formats for keyfld and ixfld. If you use DEFINE-based joins (not in the MASTER) then the JOINs will not be performed by DB2 but by FOCUS which could impact on performance. You could use SQL passthru or ask the DBA to normalize the database.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006