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     Use Report Caster to get the history of reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Use Report Caster to get the history of reports
 Login/Join
 
<Bhuvaneswari>
posted
Hi,

I am new to Report Caster.

We use Webfocus 7.6.4 client and reporting server to generate the reports.We need to get the list of reports executed by a particular user for a specified period of time. Can we use Report Caster for this purpose?

Any help is greatly appreciated.

-Bhuvana.
 
Report This Post
Gold member
posted Hide Post
Yes you can.

Try searching for: BOTSCHED table

Here is one post that I found from Ginny: https://forums.informationbuilders.com/eve/forums/a/tpc/...241003682#3241003682

Cynthia


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
 
Posts: 53 | Location: Montreal,Quebec,Canada | Registered: February 13, 2006Report This Post
Master
posted Hide Post
If this use only executes the job via Report Caster then look at the botlog tables. If it is interactive (On-Line) on demand and you have resource analyzer collecting then you can use resource analyzer if not and you are logging then your self then you can read your logs. that is about the only way.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
Im not sure how useful this will be to you but a while a go i joined up all the RC tables to build some error checking utilities and have the join syntax here:


 CODE DELETED, THERE WAS AN ERROR WHEN I RAN IT WHICHG I DON'T HAVE TIME TO LOOK INTO


you may find that you can create a fex to interrogate this structure to get what you need...

This message has been edited. Last edited by: nubi,


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
TSR is correct if you want to look at programs executed outside of RC.

And remember if you are going to use the two BOTLOG tables, by default they are purged to hold only 30 days worth of data. If you want to save the logs longer, you will have to change the purge value in the configuration section of the RC online tool.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
<Barry>
posted
you will have to set &UserIDw

SQL SQLORA
SELECT BOTSCHED.SCHEDULEID, CASTER_USER, JOBDESC, INTERVALTYPE, NEXTRUNTIME, ACTIVE, ASVALUE, CATEGORY, PARAM_VALUE
FROM BOTSCHED, BOTTASK, BOTPARMS
&UserIDw
AND BOTSCHED.PACKETID = BOTTASK.PACKETID AND BOTSCHED.SCHEDULEID = BOTPARMS.SCHEDULEID AND PARAM_NAME = 'WF_IR_ACCOUNTNO'
ORDER BY JOBDESC;


TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS SCHEDTABLE FORMAT FOCUS
END
-RUN

-IF &LINES EQ 0 THEN GOTO NODATA;


DEFINE FILE SCHEDTABLE
SEC_HR/I6=3600;
SEC_DAY/I6=86400;
TheStamp/D16 = EDIT(TRIM('L',NEXTRUNTIME,32,'0',1,'A32'));
DT/D30= TheStamp /1000 ;
EST_OFF/P30= (DT - (SEC_HR * 5.0));
ORA_BASE/MDYY='01/01/1970';
ORA_OFF/I9 = ORA_BASE;
WHOLE_DAYS/I9 = (EST_OFF/SEC_DAY);
NextRunDate/MDYY = (WHOLE_DAYS + ORA_OFF);
RunJob/A10 = 'Re-Run';
deleteJob/A1 = 'Y';
END

TABLE FILE SCHEDTABLE
PRINT
SCHEDULEID
CASTER_USER NOPRINT
PARAM_VALUE AS 'Account No'
JOBDESC AS 'Report Name'
INTERVALTYPE AS 'Frequency'
NextRunDate
RunJob
ACTIVE
deleteJob AS 'Delete Report'

BY CATEGORY AS 'Report Group' NOPRINT
BY ASVALUE AS 'Report Name'
BY CASTER_USER NOPRINT
BY JOBDESC NOPRINT

ON TABLE SUBHEAD
"Reports for &UserID "
"Option for all Reports
ON CATEGORY SUBHEAD
"ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
&fmtWanted

ON TABLE SET STYLE *


UNITS=IN, PAGESIZE='SCREEN', LEFTMARGIN=0.000000, RIGHTMARGIN=0.000000, TOPMARGIN=0.000000, BOTTOMMARGIN=0.000000,
SQUEEZE=ON, ORIENTATION=LANDSCAPE, BACKCOLOR=RGB(157 207 206), $

TYPE=REPORT, FONT='ARIAL', GRID=OFF, SIZE=8, COLOR='BLACK', STYLE=NORMAL, TOPGAP=0.013889, BOTTOMGAP=0.027778, $

TYPE=TABHEADING, JUSTIFY=CENTER,$
TYPE=TABHEADING, LINE=2, SIZE=9, DRILLMENUITEM='Format Report in Excel - HOLD THE SHIFT KEY DOWN', FOCEXEC=getschedulebyuser(UserID='&UserID' fmt='EXL2K' SearchFlag='&SearchFlag'), &DISABLEDD DRILLMENUITEM='Disable All Reports', FOCEXEC=cancelReport(UserID=N3 ACTIVE_Y_N='N' CancelBy='U'), DRILLMENUITEM='Enable All Reports', FOCEXEC=cancelReport(UserID=N3 ACTIVE_Y_N='Y' CancelBy='U'), DRILLMENUITEM='Delete All Reports', FOCEXEC=giveDeleteAlert(UserID='&UserID' SchedID=P2 deleteBy='All' SearchFlag='&SearchFlag'),$
TYPE=DATA, BACKCOLOR=( RGB(230 230 250) 'WHITE' ), $
TYPE=DATA, COLUMN=P8, JUSTIFY=CENTER,$
TYPE=DATA, COLUMN=P9, COLOR=RED, JUSTIFY=CENTER,$

TYPE=DATA, COLUMN=P2, DRILLMENUITEM='List Schedule', FOCEXEC=getschedule1(SchedID=P2 Mode='Read'),DRILLMENUITEM='Update Schedule',FOCEXEC=getschedule1(SchedID=P2 Mode='Edit'),$

TYPE=DATA, COLUMN=P7, FOCEXEC=runonce(SchedID=P2 UserID=N3),$
TYPE=DATA, COLUMN=P8, FOCEXEC=cancelReport(UserID=P2 ACTIVE_Y_N='Y' CancelBy=P8),$
TYPE=TABHEADING, SIZE=12, STYLE=BOLD,$
TYPE=SUBHEAD, STYLE=BOLD, SIZE=9, $
TYPE=DATA, COLUMN=P9, FOCEXEC=giveDeleteAlert(UserID='&UserID' SchedID=P2 deleteBy='One' SearchFlag='&SearchFlag' JobName=N4 ),$

ENDSTYLE
END
 
Report This Post
Virtuoso
posted Hide Post
Barry

If you put your code example between codetags it will be better readable.

Code tags are [ CODE] and [ /CODE] without the spaces.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report 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     Use Report Caster to get the history of reports

Copyright © 1996-2020 Information Builders