PxPlus User Forum

Twitter Twitter Twitter

Author Topic: find files/records extracted by other users?  (Read 395 times)

thenewguy

  • Member
  • **
  • Posts: 9
    • View Profile
find files/records extracted by other users?
« on: February 11, 2020, 01:45:49 PM »
I can get a list of the files I have open, and then can tell if they have a record extracted by iterating through the "chn" variable, and using fin(chan_num,"EXTRACT")

I'm wondering if it's possible to do that, but for other users besides yourself? Can I get someone else's chn variable and fin info?

Thanks!

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3361
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: find files/records extracted by other users?
« Reply #1 on: February 11, 2020, 03:59:11 PM »
You cannot get access to another processes CHN or other variables.

What are you trying to accomplish?

thenewguy

  • Member
  • **
  • Posts: 9
    • View Profile
Re: find files/records extracted by other users?
« Reply #2 on: February 11, 2020, 04:02:08 PM »
Occasionally someone will have a file locked and we'll have to do digging to figure out who it is. It's possible, but sometimes a little time consuming. I was just wondering if it was possible to see who has what file locked from inside pxplus. :)

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3361
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: find files/records extracted by other users?
« Reply #3 on: February 11, 2020, 04:14:58 PM »
On Unix/Linux you can check TCB(87) to see which process has the record locked.