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.
I have a RC job which is scheduled at 4:00 AM CST everyday, this job checks the data load condition and generates the report (if load is complete) or kills the job (if load not complete). I run this job (using secondary interval) in intervals of 15 min for 3 hours.
Is there a way not to process the job once load is complete irrespective of the job scheduled for 3 hours. Ex: If load completes at 5:00 AM CST (the job would have run 4 times by then) and my report will be up before 5:15 AM CST, can I stop the 5:15 AM and future schedules for the day instead of running it till 7:00 AM CST?
What would be the best approach in this scenario..Thoughts please??
Thanks, Prakash
WebFOCUS ver - 7.6.9 Environment - Windows Output - HTML report pushed to emailThis message has been edited. Last edited by: Kerry,
You should be able to set it up as an alert schedule. When the condition is met the alert (in this case the report) is sent. Then you can choose what you want to occur after ther alert. You can choose to have the scheule continue running, not to run again, Or deleay for a specified period of time.
Webfocus 8.0.7 on Windows
Posts: 176 | Location: Ohio | Registered: October 26, 2006
It's been a while since I've worked with RC also... however, I used to use a Pre-Procedure in the RC scheduling that would look for a "cookie crumb" file on the server. The last successful run of the main procedure would create (or recreate) that file and load it with a run-timestamp so the Pre-Procedure could dash-READ the file and ID the run as "today's" rather than last month's.
If the file is there and loaded with today's date, a command to cancel the run was executed and that prevented the main procedure from running again; otherwise, the cancel was bypassed and the pre-procedure just ended, allowing the main procedure to run.
Unfortunately, I don't recall the syntax of the "cancel run" command, but maybe somebody else out there can help you with that.
There is an alert wizard in developer studio that will help you build the fex. Basically it is just a fex in two parts the first part checks for the condition if met it uses goto to execute the report code if not met it exits. Then in report caster you schedule the fex the same as any other. Caster will recognize the fact that it is an alert schedule and you will get an addition button on the task this button allows you to pick what you want to occur once the alert has been triggered and the report runs successfully. The choices are Automatically reset, Continue after Alert, Deactivate Schedule after alert or delay which restarts the alert after a specified time period. The descriptions of these are in the report caster admin manual. It's pretty straight forward. As an example I have an input file that has to be present before I run the rest of the flow. The alert procedure first thys to print 3 records from this file and does and on table hold. Next step in the alert procedure will check if lines eq 0 goto alertexit else execute my main procedure for the flow. It keeps checkin until condition is met then resets for the next day.
Webfocus 8.0.7 on Windows
Posts: 176 | Location: Ohio | Registered: October 26, 2006
Thanks for the inputs! I used pre and post processing to handle the scenario, it's working fine, but anyways it's more like a workaround so I will try my hand on Alert as well and use whichever is optimistic.