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     ReportCaster - Help with Best Practice

Read-Only Read-Only Topic
Go
Search
Notify
Tools
ReportCaster - Help with Best Practice
 Login/Join
 
Member
posted
Hi Fellow FOCUS developers,

I've written one WF533 report for RC and the same one accessed by UI front end. Both reports are supposed to be exactly the same output. The RC report just mails a daily snapshot, the UI version allows user to enter their own From and To date, plus a few other options.

I originally felt that RC was different enough to keep all RC reports in one folder separated from the rest of my UI reports(it was new to me two months ago). Now, I'm trying to figure out if I should modify the RC code to make it callable from the UI and RC scheduler. This would eliminate maintenance of two files that do almost the same thing but it would make for some ugly code, and I like clean code.

Has anyone else had this scenario and what is your experience or recommendation?

Thanks in advance for your comments! Smiler
 
Posts: 23 | Location: Daytona Beach, FL | Registered: February 07, 2005Report This Post
Gold member
posted Hide Post
You can read the documentation to see exactly how, but RC allows you to pass parameters to your reports so that they perform properly. In the above example you could pass a parameter that tells you fex to use today's date for both "from" and "to" dates. I hope this is what you were looking for....
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Silver Member
posted Hide Post
You should keep only a single version of a procedure to ensure that any future enhancements are automatically reflected in your RC and UA versions. Like Boogarweed said above, you can run your focexec with any parameters you choose from RC, so there is no need whatever to keep two versions.
 
Posts: 44 | Location: New York City | Registered: May 23, 2004Report This Post
Platinum Member
posted Hide Post
We've approached this such that we set -DEFAULT amper variables to the values the Caster requires. For the ad hoc/on-line access, we prompt for the variables and overlay the default values. Works well for us.
 
Posts: 118 | Location: DC | Registered: May 13, 2005Report This Post
Member
posted Hide Post
Thank you all very much. I appreciate the advice and comments!
 
Posts: 23 | Location: Daytona Beach, FL | Registered: February 07, 2005Report 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     ReportCaster - Help with Best Practice

Copyright © 1996-2020 Information Builders