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.
I'm not an SQL expert but here is a sample using CONNECT BY command that was written by someone in my office :
SQL SQLORA
SELECT HA_USERLEVEL
FROM HABILITATION_ARBO
START WITH HA_USERLEVEL = '&p_cc'
AND HC_HABCODE = 'CC'
AND HA_CDBANK = '&p_bank'
CONNECT BY (PRIOR HC_HABCODE = HC_HABCODE
AND PRIOR HA_CDLEVEL = HA_FATHER
AND PRIOR HA_CDBANK = HA_CDBANK) ;
TABLE
ON TABLE HOLD AS CRCC FORMAT ALPHA
END
-RUN
The connect by retrieves the hierarchy dependent on a node. It retrieves the data as a relational table but sets the special column 'LEVEL' according to the depth of the Hierarchy. Using this you can build an appropriate indent to display the hierarchy.
This is probably better done in wf as FML hierarchies using PARENT_OF, CAPTION in the MASTER and then FOR ... WITH CHILDREN.
Try this - it's a feature that works very well
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006