On a VT terminal I have a process A that defines a logical LOGA in the
Job table; this is say LNM$JOB_XXXXXXXX where XXXXXXXX is a job block
number for VMS (or something like that based on the docs).
Now on another VT terminal I login the same account and I can do
a
$ show log/table=LNM$JOB_XXXXXXXX LOGA
and get the correct answer
BUT my question is how do I get the XXXXXXXX number by knowing only the
PID number of the A-process. i.e. I do not want the user to try to
find out the job block number but only the PID of the A-process.
Hope this make some sense. Thank you in advance for any comments/hints/help,
Petros Dafniotis
dafn...@chera6.che.wisc.edu
>Hope this make some sense. Thank you in advance for any comments/hints/help,
To make a very long post considerably shorter, here are the hints you
requested:
CMKRNL
EXE$EPID_TO_PCB
PCB$L_JIB
If it turns out you need more than this send me mail and we'll work something
out.
J.
--
You can implement your own custom lexicals on OpenVMS VAX and get 28
examples with source code, online help and a users manual for $99. For
a free 30 day trial kit and some free utilities please direct your WWW
browser to "http://sio.com/cnote/". If you have any questions please
email them to me at cn...@helpmt.sio.com.
Jeanell M. LeDoux Cnote Software 1.800.797.6647
The XXXXXXXX is the hexadecimal-string of the JIB-address.
Anonymous FTP to node FTP.HHS.DK directory MISC file GETJIBADR.MAR will
give you code to translate from PID to JIB [CALL GETJIBADR(PID,JIBADR) both
arguments longwords passed by reference].
Arne
Arne Vajhøj local DECNET: KO::ARNE
Computer Department PSI: PSI%238310013040::ARNE
Business School of Southern Denmark Internet: AR...@KO.HHS.DK
WWW URL: http://www.hhs.dk/~arne/arne.html