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     [SOLVED] Creating a column for a business view on a cluster join

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Creating a column for a business view on a cluster join
 Login/Join
 
Silver Member
posted
Hi Everyone,

I have a cluster join which is created joining 5 synonyms S1, S2, S3, S4, S5 etc. I need to create a column for a business view using this cluster join where the condition for the column in SQL is "Select S1.column1 where S2.column3='ZZ'". How do I do this in WebFocus in a define field? Is there any better approach to accomplish this?

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: January 07, 2016Report This Post
Virtuoso
posted Hide Post
Insert a DEFEINEd expression into the synonym that says something like this:

IF S2.COLUMN3 NE 'ZZ' THEN MISSING ELSE S1.COLUMN1

make sure you have MISSING ON. This is an example for car sample file:

UKSALES/D12.2 MISSING ON=IF COUNTRY EQ 'ENGLAND' THEN SALES ELSE MISSING;


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
BabakNYC,

Thank you very much. It worked.

Regards
Krishna

This message has been edited. Last edited by: Leela Krishna,


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: January 07, 2016Report This Post
Silver Member
posted Hide Post
In the column S2.Column3 there are only 3 distinct values, Is there a way I can create a new define/compute field based on the condition "Select S1.column1 where S2.column3='ZZ'" where when a user selects the column in the business view it will prompt and ask the user to pick 1 out of 3 values?

values available in the column S2.Column3 are 'ZX','ZY' and'ZZ'.

Note: This column need to be created on a business view.
quote:
Originally posted by Leela Krishna:
Hi Everyone,

I have a cluster join which is created joining 5 synonyms S1, S2, S3, S4, S5 etc. I need to create a column for a business view using this cluster join where the condition for the column in SQL is "Select S1.column1 where S2.column3='ZZ'". How do I do this in WebFocus in a define field? Is there any better approach to accomplish this?

This message has been edited. Last edited by: Leela Krishna,


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: January 07, 2016Report This Post
Virtuoso
posted Hide Post
Look up ACCEPT VALUES in the doc on creating synonyms. I think that might be one possible solution.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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     [SOLVED] Creating a column for a business view on a cluster join

Copyright © 1996-2020 Information Builders