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     [CLOSED] First Working day of the Month

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] First Working day of the Month
 Login/Join
 
Gold member
posted
Hello All,

I am currently working on a RC job which is supposed to run every first working day of the month. In case if the first day of the month falls on Saturday/sunday then I need to kill this job.

Any advise would be helpful!

Thank you,
Prajakta

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


Webfocus 8.1.0.5
Windows, all output
 
Posts: 56 | Registered: February 16, 2011Report This Post
Guru
posted Hide Post
Not so fancy but it works and is easily adjustable, just create a custom occurance for the next x years.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Virtuoso
posted Hide Post
Why not using "First Monday" ?

Set for date when you want it to run then by choosing the proper setup it will run on first working day of each month.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Gold member
posted Hide Post
Hello Martin,

The "First Monday" will not work since if the first working day falls on Thursday then the user would get the data very late.
I was trying the option &&KILL_RPC but for some reason it is not working. Have you tried this before.

Thank you,
Prajakta


Webfocus 8.1.0.5
Windows, all output
 
Posts: 56 | Registered: February 16, 2011Report This Post
Virtuoso
posted Hide Post
Ok, so your request is not the first working day of the month but the first day of the month which is not a week-end (Sat or Sun).
Not the same request...
One thing that you can do using a Daily schedule, is to add a test at the beginning of your fex to check which day it is :

If 1st of the month and not a Sat-Sun, then continue to report
Else if 2nd of the month and a Monday, then continue to report
Else if 3nd of the month and a Monday, then continue to report
Otherwise bypass report and go to end

This doesn't take in consideration Holidays.

If you have issue with KILL_RPC, you may have to contact IB Support because the reasons may be multiple.

So, please stop opening multiple treads for the "same related" issue because you may get the same answer in several location and it's make the upgoing searches harder.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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     [CLOSED] First Working day of the Month

Copyright © 1996-2020 Information Builders