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 an issue which I may open a case for, if need be. But, I'm checking Our FocalPoint First.
The issue is that ReportCaster Does Not fail when it should.
Some insight: 1) This RC JOB contains multiple TASKS. 2) A "Task error:Error connecting to the Managed Reporting Repository:" error is produced sometimes, during some of the tasks. 3) Despite that error, the RC Job continues. * Should the RC Job fail, and produce an send the "On Error" message when a TASK fails, providing that it's set up that way, which it is?
ReportCaster Log Report Schedule ID: S17bbheal123, Job Description: ReportOne
Process: J17h5djb12ab
Schedule ID: S17bbheal123
Start Time: 2013-01-17 17:30:45
End Time: 2013-01-17 17:33:58
Message Code Message Text
BTP1010 Schedule Executed On Demand
BTP1020 Starting task: ReportOne - Report Number One
BTP1020 Task type: MR Standard Report
BTP1020 Task domain: domain1/domain1.htm
BTP1020 Retrieving MR report: app/this_application_name
BTP1020 Connecting to server THISSVR1 with execution id DougLee
BTP1020 Executing focexec.
BTP1020 ====================================================================================
BTP1020 ==== StopWatch Started at 17.31.00 on Jan 17, 2013
BTP1020 ====================================================================================
BTP1020 . . . trace lines from &ECHO . . .
BTP1020 ====================================================================================
BTP1020 ==== StopWatch Started at 17.31.00 / Ended at 17.32.11 on Jan 17, 2013
BTP1020 ==== It took 71 seconds to get to this point in this procedure.
BTP1020 ====================================================================================
BTP1020 Task finished.
BTP1020 Starting task: ReportOne - MSR Sample Division ALL
BTP1020 Task type: MR Standard Report
BTP1020 Task domain: domain1/domain1.htm
BTP1020 Retrieving MR report: app/this_application_name
BTP1010 <font color=red>Task error:Error connecting to the Managed Reporting Repository:</font>
BTP1020 Starting task: ReportOne - MSR Sample Division CLOSED
BTP1020 Task type: MR Standard Report
BTP1020 Task domain: domain1/domain1.htm
BTP1020 Retrieving MR report: app/this_application_name
BTP1010 <font color=red>Task error:Error connecting to the Managed Reporting Repository:</font>
BTP1020 Starting task: ReportOne - MSR Sample Division COMP
BTP1020 Task type: MR Standard Report
BTP1020 Task domain: domain1/domain1.htm
BTP1020 Retrieving MR report: app/this_application_name
BTP1010 <font color=red>Task error:Error connecting to the Managed Reporting Repository:</font>
BTP1020 Starting task: ReportOne - MSR Sample Division NONCOMP
BTP1020 Task type: MR Standard Report
BTP1020 Task domain: domain1/domain1.htm
BTP1020 Retrieving MR report: app/this_application_name
. . .
BTP1010 Dynamically creating distribution information
BTP1010 <font color=red>No report for User1@DomainA.com with a burst value of r1010413dv10all.pdf.</font>
BTP1010 <font color=red>No report for User2@DomainA.com with a burst value of r1010413dv10all.pdf.</font>
BTP1010 <font color=red>No report for User3@DomainA.com with a burst value of r1010413dv10all.pdf.</font>
BTP1010 <font color=red>No report for User1@DomainA.com with a burst value of r1010413dv10closed.pdf.</font>
BTP1010 <font color=red>No report for User2@DomainA.com with a burst value of r1010413dv10closed.pdf.</font>
BTP1010 <font color=red>No report for User3@DomainA.com with a burst value of r1010413dv10closed.pdf.</font>
BTP1010 <font color=red>No report for User1@DomainA.com with a burst value of r1010413dv10comp.pdf.</font>
BTP1010 <font color=red>No report for User2@DomainA.com with a burst value of r1010413dv10comp.pdf.</font>
. . .
BTP1010 r1010413chall.pdf distributed to User1@DomainA.com
BTP1010 r1010413chclosed.pdf distributed to User1@DomainA.com
BTP1010 r1010413chcomp.pdf distributed to User1@DomainA.com
BTP1010 r1010413chnoncomp.pdf distributed to User1@DomainA.com
BTP1010 r1010413chall.pdf distributed to User2@DomainA.com
BTP1010 r1010413chclosed.pdf distributed to User2@DomainA.com
BTP1010 r1010413chcomp.pdf distributed to User2@DomainA.com
BTP1010 r1010413chnoncomp.pdf distributed to User2@DomainA.com
BTP1010 r1010413chall.pdf distributed to User3@DomainA.com
BTP1010 r1010413chclosed.pdf distributed to User3@DomainA.com
BTP1010 r1010413chcomp.pdf distributed to User3@DomainA.com
BTP1010 r1010413chnoncomp.pdf distributed to User3@DomainA.com
So, the question is: What needs to be done to get the RC JOB to fail when there's a failure in the execution, or connection, of one of its TASKS?This message has been edited. Last edited by: Kerry,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I think in that case you would put TASK 1 in PRE-PROCESSING.
I see your point, but then on the other hand if the Tasks are independent of each other, you would not necessarly want the entire thing to fail if one fex did.
New Feature Request?
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
I agree to "I think in that case you would put TASK 1 in PRE-PROCESSING.". However, this one RC jobs has 41 tasks.
I agree to "...on the other hand if the Tasks are independent of each other, you would not necessarily want the entire thing to fail if one fex did."
But, on the other hand if the Tasks ARE dependent on each other, you would want the entire thing to fail if one fex did.
Fortunately, our scheduler, OpCon, executes a script which kicks off the RC job and checks for errors. Thus, Opcon, sees a task failure as a job failure and notifies the powers to be accordingly. But, that stills leaves the situation for those who depend only on RC and its "On Error" messages.
The bottom line: Ya Gotta read those Full Notification regardless of what you may see at the top of them...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
The Report Caster "Error" condition is not what it seems. It only has an error if no report is distributed.
What I have done to get around this is create a single wrapper program that executes all of the tasks that I want to run. At the end of the wrapper I generate a one line dummy report, which RC then gets to distribute.
At the end of each of the tasks (read focexecs) I add -QUIT FOCUS with a check for &FOCERRNUM to cause the quit to execute. If the focexec works ok, I do not do the quit. If there is an error, the quit will execute.
This will terminate the focexec and the wrapper, so no additional tasks are run. It will also cause ReportCaster to display an error on the status, as the dummy report is not sent.
That's Very Interesting. You're definitely thinking outside the box (which is a good thing). I'll keep this in mind for the next re-write of the associated app and for future RC apps. ♦
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005