PxPlus User Forum
Main Board => Discussions => Programming => Topic started by: thenewguy 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!
-
You cannot get access to another processes CHN or other variables.
What are you trying to accomplish?
-
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. :)
-
On Unix/Linux you can check TCB(87) to see which process has the record locked.