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]How to include a holiday calendar in report caster scheduling

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]How to include a holiday calendar in report caster scheduling
 Login/Join
 
Gold member
posted
I created a holiday calendar and would like report caster to include it when creating the next run time. I do not want to create blackout dates. I want the report caster schedules to take into consideration the holidays and calculate to run on the next business date. Is this possible to configure report caster to use a holiday calendar to determine next run times? Thanks in advance.

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


WebFOCUS 8.1.05/PMF 8.1.4,Tomcat,IIS,Windows/iseries,sql server 2008,Excel/ PDF/HTML
 
Posts: 65 | Registered: July 11, 2006Report This Post
Virtuoso
posted Hide Post
I don't believe there is a way to have ReportCaster directly honor a holiday schedule. Another approach is to create a separate fex that uses the DATEADD function or other method to determine if today is a holiday or not and then sets the ReportCaster variable &&KILL_RPC accordingly. You would identify this fex as a pre-processing step in the ReportCaster schedule. When &&KILL_RPC is set to 'Y', all subsequent processing is stopped for that schedule.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Gold member
posted Hide Post
Dan, thanks for the reply. I am scheduling reports that will run on the first business day of each month. To use a pre-processing fex, it appears that I would need to set the schedule to run daily. If this is my only solution, I am okay with it. But is there any way to schedule these reports monthly and use a pre-processing fex?


WebFOCUS 8.1.05/PMF 8.1.4,Tomcat,IIS,Windows/iseries,sql server 2008,Excel/ PDF/HTML
 
Posts: 65 | Registered: July 11, 2006Report This Post
Virtuoso
posted Hide Post
Unless someone else replies to this post with a solution, you might consider opening a case with IBI to see what they recommend. Barring a better solution, you could schedule your job to run every day for the first 4 days of each month. That range should cover the case where the first falls on a Saturday and is followed by Sunday and a holiday. You would need to increase the number of days the schedule runs every month if there is any possibility that the first business day could occur after the 4th day.

Here are a couple of previous posts on the same subject:

Run ReportCaster on business day

Run ReportCaster on business day


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Guru
posted Hide Post
Dcorp,

I did exactly what Dan suggested. it works. In your case just schedule it to run on the first 3 - 5 day of each month


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Gold member
posted Hide Post
Dan, Thanks again for the reply. I did not consider scheduling for the first days of the month. I think that your suggestion will work fine. Thanks again.


WebFOCUS 8.1.05/PMF 8.1.4,Tomcat,IIS,Windows/iseries,sql server 2008,Excel/ PDF/HTML
 
Posts: 65 | Registered: July 11, 2006Report This Post
Gold member
posted Hide Post
RSquared, Thanks for confirming the solution. I am going to use this solution.


WebFOCUS 8.1.05/PMF 8.1.4,Tomcat,IIS,Windows/iseries,sql server 2008,Excel/ PDF/HTML
 
Posts: 65 | Registered: July 11, 2006Report This Post
Virtuoso
posted Hide Post
@ dcorp: Your pre-processing fex will need to do two things. First, determine if the current date is the first business day of the month. Second, determine if the report has already run for the month. Then set &&KILL_RPC accordingly. To determine if the report has already run for the month, you can check to see if the current date is greater than the first business day of the month. If so, then the report should have already run.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Gold member
posted Hide Post
Dan, Thanks for bringing up the need to check if the report has already been run for the month. I will include this.


WebFOCUS 8.1.05/PMF 8.1.4,Tomcat,IIS,Windows/iseries,sql server 2008,Excel/ PDF/HTML
 
Posts: 65 | Registered: July 11, 2006Report 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]How to include a holiday calendar in report caster scheduling

Copyright © 1996-2020 Information Builders