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.
As our use of ReportCaster grows, I can see myself being asked what schedules ran yesterday, what reports were sent out, and who were the lucky recipients.
I know I can review the log files, to see this information, and I am looking at something more 'presentation quality'.
If there is a canned WebFOCUS report that would be great.
If I had to create a report, I wouldn't mind, I just don't know if/where ReportCaster schedule EXecution data might be stored.This message has been edited. Last edited by: FP Mod Chuck,
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
From your RC repository it's the BOTLOG table that contain the execution date/time But good luck using this table and perform that joins between all other table to get the information the way you want
Extracting the schedule name and recipients it's one thing, but joined to the execution log (BOTLOG)...
Hoping that something else can be used or someone else have another option...
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, 2013
In The tools section there is a Report caster explorer that shows the info you need, except the reportname, but creating meaningfull schedulenames resolves that.
Assuming that you have access to your repository, this SQL might get you what you need
SELECT DISTINCT schd.JOBDESC 'rc_job'
, schd.CASTER_USER 'schd_userId'
, DATEADD(s, (CAST([START_STAMP] AS BIGINT) / 1000) - (DATEDIFF(SECOND, GETDATE(), GETUTCDATE())), '1970-01-01') 'start_stamp'
, DATEADD(s, (CAST([END_STAMP] AS BIGINT) / 1000) - (DATEDIFF(SECOND, GETDATE(), GETUTCDATE())), '1970-01-01') 'end_stamp'
, log2.RC_MESSAGE 'distribution'
FROM dbo.BOTSCHED AS schd WITH (READUNCOMMITTED)
LEFT JOIN dbo.BOTLOG AS log1 WITH (READUNCOMMITTED)
ON log1.SCHED_ID = schd.SCHEDULEID
LEFT JOIN dbo.BOTLOG2 AS log2 WITH (READUNCOMMITTED)
ON log1.STAT_BT_NAME = log2.STAT_BT_NAME
AND (log2.RC_MESSAGE LIKE '%distributed to%' OR log2.RC_MESSAGE LIKE '%No report to distribute%')
ORDER BY start_stamp DESC
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
I can see that the SELECT clause is pulling the type of information I am seeking. (I thought this information might have been stored off by IB somewhere. :-))
At this point, our site doesn't yet read internal/repository IB tables with our own SQL, and this might be something we'll consider.