Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Report Caster query
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Report Caster query
 Login/Join
 
Member
posted
Is there a way to query the repository in WF82 so we can get the info about all RC schedules, mainly the info in the task and distribution pan?
Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 2 | Registered: June 03, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
You need to check out the BOT... tables in the WebFOCUS repository.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
Which version of 82 do you have? AFter 8205 it's possible to use the client adapter to query this via Rest.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 411 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Member
posted Hide Post
I have version 8201. I was able to setup synonyms for BOTSCHED and BOTTASK and get the info. Thanks for your input guys.


WebFOCUS 8
Windows, All Outputs
 
Posts: 2 | Registered: June 03, 2015Reply With QuoteReport This Post
Master
posted Hide Post
Thanks for the info Frans and wfdmuser.

I'll add this to our 'reasons to upgrade from 81 to 82' doc.




Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2012/Tomcat Standalone Workstation: Windows 7/IE 11 Database: Oracle 12c/Netezza Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer, & ReportCaster

 
Posts: 780 | Registered: April 23, 2003Reply With QuoteReport This Post
Expert
posted Hide Post
Hi wfdmuser,

Please edit your first post in this thread and add [SOLVED] or [CLOSED] to the title.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Try this code.....

-MRNOEDIT -SET &D = EDIT(&YYMD.EVAL,'$$$$$$99')|'/'|EDIT(&YYMD.EVAL,'$$$$99$$')|'/'|EDIT(&YYMD.EVAL,'9999$$$$');
-MRNOEDIT -SET &T = CTRAN(8,'&TOD.EVAL',46,58,'A8');
-RUN

JOIN
BOTSCHED.BOTSCHED.PACKETID IN BOTSCHED TO UNIQUE BOTTASK.BOTTASK.PACKETID
IN BOTTASK TAG J0 AS J0
END
JOIN
BOTSCHED.BOTSCHED.SCHEDULEID IN BOTSCHED TO UNIQUE BOTDIST.BOTDIST.SCHEDULEID
IN BOTDIST TAG J1 AS J1
END
JOIN
LEFT_OUTER J1.BOTDIST.DISTLIST IN BOTSCHED TO UNIQUE BOTDEST.BOTDEST.ADDRBOOKID
IN botdest TAG J2 AS J2
END
JOIN
LEFT_OUTER J1.BOTDIST.DISTLIST IN BOTSCHED TO UNIQUE BOTADDR.BOTADDR.IBFSID
IN botaddr TAG J3 AS J3
END



DEFINE FILE BOTSCHED
METHOD/A10 = IF (METHOD_CODE EQ 'M') THEN 'Email' ELSE
IF (METHOD_CODE EQ 'P') THEN 'Printer' ELSE 'Other';
LIST_T/A25 = IF (LISTTYPE EQ 'D') THEN 'Distribution List' ELSE
IF (LISTTYPE EQ 'S') THEN 'Single Email Address(es)' ELSE 'Other';
PRETTY_TO/A255 = IF (LISTTYPE EQ 'D') THEN J3.DESCRIPTION || ' -- ' || DESTFN ELSE DISTLIST;
END

TABLE FILE BOTSCHED
HEADING CENTER
"Report Caster Schedules with Dist. Info. from Server &SERVER_NAME as at : &DATEDMYY "
" "
"Run on: &D at: &T Page No. "
" "
PRINT
BOTSCHED.BOTSCHED.LASTEXTIME/HMDYYI
LASTEXSTATUS
PRETTY_TO AS 'DIST. TO'
COMPUTE LIST_TYPE/A25 = IF SCHEDULEID EQ LAST SCHEDULEID THEN '' ELSE LIST_T;
BY BOTSCHED.BOTSCHED.JOBDESC
BY BOTSCHED.BOTSCHED.CASTER_USER
BY BOTSCHED.BOTSCHED.ACTIVE
BY J1.BOTDIST.METHOD
BY J1.BOTDIST.MAILSUBJECT
BY J0.BOTTASK.TASKNAME
-*WHERE ACTIVE EQ 'Y';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON

-MRNOEDIT -INCLUDE QIS_HTML_STYLE

-*ON TABLE SET STYLE *
-* INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 194 | Location: London, UK | Registered: December 06, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Report Caster query

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.