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     [CASWE OPENED] Report Caster - Update BOT Tables in SQL Repository

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASWE OPENED] Report Caster - Update BOT Tables in SQL Repository
 Login/Join
 
Gold member
posted
We just had two users leave the company and between them, they have about 200 reports they receive. My question is, is there a way to write a job and update all the necessary BOT Tables in SQL repository?
I would need to update the static emails as well as the distribution lists by doing a find and replace on email addresses. This would save a great deal of time from having to edit each schedule and distribution list. Appreciate any assistance you can offer.

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


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Expert
posted Hide Post
I think it's possible. First make a backup of all the BOT tables. Either through (non-existant?) documentation or examination, you will find the appropriate tables. If you do not delete any rows, and just update email addresses or names, I think you should be OK. Of course, use SQL, not WebFOCUS to update the tables. My guess is that only two or three tables would need to be updated. Create a different copy of the tables to test out the SQL before running them on the live tables.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Thanks for the quick response, Francis !
I found 3 tables:
BOTSCHED
BOTDEST
BOTDIST

we will create a test scenario and try updating the emails. Thanks again


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Gold member
posted Hide Post
This worked great....here's the code I used:

BEGIN
UPDATE S
set S.distlist=REPLACE(S.distlist, 'old_value', 'new_value')

FROM [WebFocus80STG].[dbo].[BOTDIST] S
where distlist like '%old_value%'
END


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report 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     [CASWE OPENED] Report Caster - Update BOT Tables in SQL Repository

Copyright © 1996-2020 Information Builders