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     Join where one key is alpha, one key is integer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Join where one key is alpha, one key is integer
 Login/Join
 
Member
posted
In SQL, this works:

SELECT * FROM
MNDS.DISBCLM A,
MIDIB.CLACTHIS B
WHERE
PGM_BNFT_CD = '02' AND
ADJU_LVL_CD = 'IN' AND
INT(A.EDIB_FLDR_NUM) = B.FLDR_NUM
;

How would I go about doing this in Developer Studio 764? I've tried various things to no avail. What tools would produce this kind of result, where I need to convert one key to integer to match the other key?

Thanks,

Carroll Rinehart


FOCUS 7.6.11 for Mainframe
z/OS - DB2 & Flat Files
Developer Studio 7.6.4
Windows XP Professional SP 2
Output: Excel, PDF
 
Posts: 10 | Location: Baltimore, MD | Registered: March 30, 2007Report This Post
Virtuoso
posted Hide Post
Look into the 'defined based join'. (EXAMPLE ASSUMES THE NUMERIC FIELD IS I9) Assuming Wink no typo's

JOIN EDITFIELD WITH EDIB_FLDR_NUM IN DISBCLM TO FLDR_NUM IN CLACTHIS AS J0
END
DEFINE FILE DISBCLM
EDITFIELD/I9 = EDIT(EBDIB_FLD_NUM);
END
TABLE FILE DISBCLM
WHERE
PGM_BNFT_CD = '02' AND
ADJU_LVL_CD = 'IN'
PRINT *
END

Drawback to this is with defined based joins optimization is bad.

OTHER OPTION use the SQL passthru capabilities.

Also, Carroll, would you add the version of WebFOCUS you are using to your signature. Not all things work in all versions.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Will do. Thanks Leah.


FOCUS 7.6.11 for Mainframe
z/OS - DB2 & Flat Files
Developer Studio 7.6.4
Windows XP Professional SP 2
Output: Excel, PDF
 
Posts: 10 | Location: Baltimore, MD | Registered: March 30, 2007Report 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     Join where one key is alpha, one key is integer

Copyright © 1996-2020 Information Builders