×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

User Locks

User Locks

User Locks

(OP)
Is there a way, in COBOL, to determine which user has issued an explicit lock?

RE: User Locks

If it's pervasive, then you can always look at the monitor utiity and active files/users to see who's doing what.  As to whether it's possible in code - I'm not sure but you could try to manipulate any return codes you get to see if there is any evidence in there...

RE: User Locks

Pervasive.SQL 2000 supports the Distributed Tuning Interface (DTI) and an object version of the same (DTO) for developers who want to programmatically get at the same information that's displayed in monitor.  DTI/DTO also lets you retrieve and set configuration values, and perform other database administration.  Check out the DTI/DTO section of our Developer Center for more info and samples.

http://www.pervasive.com/developerzone/access_methods/dtidto.asp

Linda
Pervasive Software Support

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close