find files/records extracted by other users?

Started by thenewguy, February 11, 2020, 01:45:49 PM

Previous topic - Next topic

thenewguy

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

You cannot get access to another processes CHN or other variables.

What are you trying to accomplish?
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

thenewguy

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

On Unix/Linux you can check TCB(87) to see which process has the record locked.

Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com