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] List RC Schedules Run, What Report EXecuted, Who Were the Recipients?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] List RC Schedules Run, What Report EXecuted, Who Were the Recipients?
 Login/Join
 
Master
posted
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.

Something like...
Schedules run 10/29/2019
Schedule   Report              Recipient
========   ======              ==============
HR.sch     HR Report           smikita@bh.org
                               bhull@bh.org
Inv.sch    Inventory Report    fthomas@ws.org
                               tanderson@ws.org                              

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
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
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, 2013Report This Post
Guru
posted Hide Post
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.


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
Master
posted Hide Post
Thanks for your comments Martin and Frans.

ReportCaster Explorer is one of my favs for determining status of last run of a schedule.

In my mind though I am seeing someone ask me for information for a previous period, and who the recipients were for each of those runs.
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
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, 2015Report This Post
Master
posted Hide Post
Thank you Hallway!

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.

Thanks again.
 
Posts: 822 | Registered: April 23, 2003Report 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] List RC Schedules Run, What Report EXecuted, Who Were the Recipients?

Copyright © 1996-2020 Information Builders