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 would like to be able to sort the values of the same column X by column A and by column B. However, both must be primary sorts, to be able to compare the two resulting X columns. Is this possible? Or, has anybody needed something like this, and found another way around it? Thanks!This message has been edited. Last edited by: Anurupa,
Could you please clarify what you are looking for? I'm not sure I understand what you require. Are there 3 columns -- X, A, and B? Or are A and B values in column X.
Posts: 118 | Location: DC | Registered: May 13, 2005
I apologize - I hadn't realized that my illustration didn't go through as expected. I've changed it now - hope it makes more sense. A and B are the 2 sort columns, and there need to be 2 columns of the same field X.
Thanks but still not sure I understand. Would concatenating A and B and sorting on that get you what you need? NOTE:there may be optimizating repercussions to sorting on a DEFINE.
Posts: 118 | Location: DC | Registered: May 13, 2005
I need A and B to remain separate, and I want to [1] sort X based on sort field A, [2] sort X based on sort field B, and be able to compare columns [1] and [2].
Are A and B the same field but from different tables? This would be the only way what I think you want to do makes sense.
Either way, I think what you want you can get with MATCH FILE. Just know that if field A and field B do not represent a common sort field, the data will get merged with no regard to matching since there is no relationship between A and B.
MATCH FILE tablename PRINT X BY A RUN FILE tablename PRINT X BY B AFTER MATCH HOLD OLD-OR-NEW END TABLE FILE HOLD PRINT * END
Look up MATCH and concatenating without a common sort field in the manual for more info.
Posts: 118 | Location: DC | Registered: May 13, 2005