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] Dealing with Aggregation tables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Dealing with Aggregation tables
 Login/Join
 
Silver Member
posted
Hi,

I just wanted to discuss with you all on how to handle Aggregated tables in WEBFOCUS.

If we create a synoym (say DAILY_BATCHES) which contains data at a daily level and give
it to a adhoc user he will create his own reports and will run it. If the users gives the
date range for 1 or more month then it is very tough to pull out the data.

Instead if we create a table BATCHES_MONTHLY and create a corresponding synonym in
WEBFOCUS, it would solve the problem even if the user enters a huge range.

Now I wanted to find out how we can change the underlying master file to be used when the user
runs the report. If user enters a range for 1 or more months then it should use the synonym
BATCHES_MONTHLY otherwise it should use DAILY_BATCHES.

How do we control such a behaviour. Please express your thoughts on how we can achieve this.

Thanks,
Amarnath

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.7
Unix
Excel/Html
 
Posts: 46 | Registered: January 27, 2009Report This Post
Expert
posted Hide Post
You can use an amper variable in the request to hold the filename and alter its contents based on the input. E.g.

-SET &FILENAME=IF &MONTHS GT 1 THEN 'BATCHES_MONTHLY' ELSE 'DAILY_BATCHES';
TABLE FILE &FILENAME


This is pseudo-code that you will have to alter to your needs.

Good luck.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Silver Member
posted Hide Post
Hi Ginny,

Thanks for sharing your thoughts.

I dont want specific to the report. If it for an adhoc user it will be tough for him to follow this logic.

Based on the parameter selection of the adhoc user the underlying SYNONYM (TABLE) usage should differ.

It should be generic for all the reports. Each report need not explicitly follow the logic.

Thanks,
Amarnath


WebFOCUS 7.6.7
Unix
Excel/Html
 
Posts: 46 | Registered: January 27, 2009Report 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] Dealing with Aggregation tables

Copyright © 1996-2020 Information Builders