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     Maintain and table lock

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Maintain and table lock
 Login/Join
 
Platinum Member
posted
hi All ,
i face some issue that related with Maintain procedure, it is summarized as following:

when i update the data by submitted the data Form to database table, the maintain Application lock the table until the application find commit point to unlock the table,this is good and working fine for one user at a time ; but if i have 9 or 7 user,there is one of them will reserve the table and the other will be waiting for the first one to release the table :
NOTE:
may if we made the lock at the record level not at the table level it will be working but how?

is there any technique to reselovr it ?


WF 7.7.0.3HF3 / WinXP- WF-Client & Apache / DevStd 7.7.0.3HF3 win XP.
 
Posts: 118 | Registered: February 08, 2006Report This Post
Platinum Member
posted Hide Post
hi
i think if we put the commit point at button level with in onClick Event Handler will be working, for millisecound locking

but if we have 300 user and there is unloucky user he try to update table but the others locking the table before him self he will be waiting for long time to access the specified table
Corect me if i am on the wrong way:

any suggestion?


WF 7.7.0.3HF3 / WinXP- WF-Client & Apache / DevStd 7.7.0.3HF3 win XP.
 
Posts: 118 | Registered: February 08, 2006Report This Post
Master
posted Hide Post
There is an installation option in most relational databases that determines whether a record is locked or re-selectable. Check this option.

If you wan't zero record locking when a user selects records, you can use TABLE to retrieve records into a Maintain procedure. TABLE does not lock records. The syntax is something like:

MAINTAIN FILE CAR
INFER COUNTRY CAR INTO STK
EXEC GETDATA INTO STK
...
END

-* GETDATA FOCEXEC
TABLE FILE CAR
PRINT CAR BY COUNTRY
ON TABLE PCHOLD
END

The other thing you can do is just let the user bring in 1 record at a time instead of a set of records. You would probably want that one record locked while a user is updating it.
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Platinum Member
posted Hide Post
Thanks in advance for sharing.


WF 7.7.0.3HF3 / WinXP- WF-Client & Apache / DevStd 7.7.0.3HF3 win XP.
 
Posts: 118 | Registered: February 08, 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     Maintain and table lock

Copyright © 1996-2020 Information Builders