[Info-vax] Job logicals linked to a process

Chris Townley news at cct-net.co.uk
Fri Jan 8 20:26:39 EST 2021


On 09/01/2021 01:19, geze... at rlgsc.com wrote:
> On Friday, January 8, 2021 at 5:24:37 PM UTC-5, Chris Townley wrote:
>> Just wondering - looking at job logicals, where the LNM table is similar
>> to LNM$JOB_81DC4940
>>
>> I was wondering how to link a process to a particular table. Looking at
>> the the reference above, here 81DC4940, I could not see the connection
>> until I looked at SDA, where this is shown as the JIB address.
>>
>> I cannot find this in f$getjpi (so presumably not in LIB$GETJPI or even
>> $GETJPI
>>
>> Any thoughts on how to find/link this, or even what it is?
>>
>>
>> Chris
> Chris,
> 
> One can find the actual translation of LNM$JOB in logical name table LNM$PROCESS_DIRECTORY.
> 
> Insofar as it is desirable to create a group LOGIN.COM, I covered the technique in "Group-wide LOGIN Profiles Lower Risk, Decrease Cost" at
> http://www.rlgsc.com/blog/openvms-consultant/group-wide-login.html
> 
> It is a useful technique. I did several articles on specialty login techniques, see The OpenVMS  Consultant home page on my site.
> 
> - Bob Gezelter, http://www.rlgsc.com
> 
Thanks, but not really what I was after - I was looking at how to access 
the job logicals of a particular process.

If I needed to do this, I now would either get the login to write to a 
sort of lock file it's job table name, or use the SDA to access the JIB, 
not that Hoff would approve I daresay ;)

Chris



More information about the Info-vax mailing list