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.
Does anybody know if there is a way to schedule a report to run on the first Monday of every month? I can only find where you can specify the day of the month or the last day of the month.
Posts: 26 | Location: Little Rock, AR | Registered: October 29, 2004
Not that I know of, however, you can schedule your job to run for the first 7 days of the month so that you can catch each unique occurence of the day and then in your logic, check to see if it's a Monday.
If it's not Monday, skip to a label at the end of the report so that the job does not continue.
We use something similar to this on another level. We have a front end where users can manage their jobs and they can set the status to active or inactive. In my reportcaster jobs, I just check to see if the status is active. If not, I skip over the logic and the job ends with no report distributed.
k.lane is close you could schedule you report as is to run on the first 7 days of the month. Then have a pre-execution procedure that check to see if it is monday of not set the KILL_RPC variable to Y.
k.lane, help me understand your method, would you? how do you check the status? Are you checking some flag or field in a file other than the Botsched file? AW, i agree that you could check the date, something like this: -SET &THISDAY = DOWK(&YYMD,'A3'); -SET &&KILL_RPC=IF &THISDAY NE 'MON' THEN 'Y' ELSE 'N'; ..and that should kill this job's execution. ..careful with &&KILL_RPC..its a powerful variable. Its set to N by default, and a setting of Y will kill the caster job for this execution.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003