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.
We have a report that is reading a db2 table. Occasionally the table is updated and it appears if it's being updated while webfocus is trying to read it, we get a deadlock/timeout and have to get a dba involved. Is there a command that I can put in my webfocus code to tell it not to worry about updates, just take a look at that point in time and get the info needed. We can't have deadlock/timeouts in production. Has this ever happened to anyone else? We have hundreds of reports in existence and have never seen this happy before.
Pam : If a DB2 table is being updated, the DB2 resource manager will automatically lock out everyone else from reading Un-commited data. This is for data integrity and it cannot be bypassed.
However, if you can get your DBA to reduce the lock-size parameter on the table to the smallest size possible (Page-level for sure, I believe even Row-level locks can be done), you can circumvent the dead-lock issue.
Size and Space permitting, you can also look at having an image copy of the table to a new one, that is not open to random updates. This new static table can be re-loaded once or twice a day to keep as current as possible.
Sandeep Mamidenna.
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006
The program that is running is not doing commits. I checked and it's supposed to run at 2:30 a.m. CT so it shouldn't be a problem in production technically. That program is being rewritten to load to the db2 table differently but it will be going in after my report that reads that same table goes into production.
I'm going to make sure that the update to the table is done off-hours and that should keep us in good shape until the program change can go in to fix the lack of commits.