<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to find the pid associated to a lnm$job_xxxxx table in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113130#M90088</link>
    <description>Bonjour Bruno&lt;BR /&gt;&lt;BR /&gt;Ian Miller has written a handy SDA extension called LN&lt;BR /&gt;&lt;A href="http://vms.process.com/ftp/vms-freeware/fileserv/ln_sda.zip" target="_blank"&gt;http://vms.process.com/ftp/vms-freeware/fileserv/ln_sda.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;that may help.&lt;BR /&gt;&lt;BR /&gt;And in Sda, you have LNM&lt;BR /&gt;sda&amp;gt; LNM LOAD&lt;BR /&gt;sda&amp;gt; LNM START TRACE&lt;BR /&gt;or &lt;BR /&gt;sda&amp;gt; LNM SH TRACE/LOGICAL&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;sda&amp;gt; LNM START COLLECT/LOGICAL&lt;BR /&gt;&lt;BR /&gt;By the way, once you have your value, you can pipe all that, example with 8182DFC0&lt;BR /&gt;$ say := wr sys$output&lt;BR /&gt;$ pipe ( say "read sysdef" ; say " exam 8182DFC0+JIB$L_MPID" ) | ana/sys&lt;BR /&gt;&lt;BR /&gt;I have submitted 3 procedures recently with a similar idea on dcl.openvms.org</description>
    <pubDate>Tue, 10 Jun 2008 08:47:14 GMT</pubDate>
    <dc:creator>labadie_1</dc:creator>
    <dc:date>2008-06-10T08:47:14Z</dc:date>
    <item>
      <title>How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113124#M90082</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here is my question : &lt;BR /&gt;&lt;BR /&gt;I have a logical name defined in a lnm$job_xxxxxx table.&lt;BR /&gt;I would like to know what is the pid of the process that has this table as job table.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Seghers Bruno&lt;BR /&gt;Belgium (French speaking)</description>
      <pubDate>Tue, 10 Jun 2008 06:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113124#M90082</guid>
      <dc:creator>Bruno Seghers</dc:creator>
      <dc:date>2008-06-10T06:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113125#M90083</link>
      <description>Hi,&lt;BR /&gt;Example with LNM$JOB_816F1F40, using ANALYZE/SYSTEM on OpenVMS Alpha V7.3-2...&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; read sysdef&lt;BR /&gt;SDA&amp;gt; format 816F1F40&lt;BR /&gt;Look for the "JIB$L_MPID"&lt;BR /&gt;&lt;BR /&gt;FFFFFFFF.816F1FA4   JIB$L_MPID   0004014A&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; set proc/id=0004014A&lt;BR /&gt;SDA&amp;gt; show proc&lt;BR /&gt;&lt;BR /&gt;And you have the info...&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2008 07:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113125#M90083</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2008-06-10T07:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113126#M90084</link>
      <description>Hi Bruno of Belgium-South,&lt;BR /&gt;&lt;BR /&gt;Put in sylogin&lt;BR /&gt;def/job jobpid 'f$getjpi(0,"pid")'&lt;BR /&gt;&lt;BR /&gt;and you see the pid in the job table. Of course, only for processes that execute the sylogin.&lt;BR /&gt;&lt;BR /&gt;Wim of Belgium-Nord&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2008 08:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113126#M90084</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-06-10T08:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113127#M90085</link>
      <description>Kris gave the answer to get one (the master pid) of the (possibly many) processes that are part of the same job, and therefore share the job logical name table.  Since a job is the master process and all of its subprocesses, there are possibly many processes within the same job.&lt;BR /&gt;&lt;BR /&gt;Here's an explaination of the method he provided.&lt;BR /&gt;&lt;BR /&gt;The 8 hex digits following lnm$job_ form the system address of the Job Information Block (JIB), and at offset JIB$L_MPID there is a longword that contains the internal PID of the Master Process (the initial process in the job).  The internal PID doesn't have the stuff that makes a PID unique in a cluster, but SDA is happy to accept the IPID or the EPID in a set process/id, and a show process will then display the Extended PID (EPID) which is what you normally see in things like show system.&lt;BR /&gt;&lt;BR /&gt;Given the above example give by Kris, you can also use the command:&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; exam 816F1F40+JIB$L_MPID&lt;BR /&gt;&lt;BR /&gt;in place of the &lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; format 816F1F40&lt;BR /&gt;&lt;BR /&gt;so you don't need to search for the JIB$L_MPID.</description>
      <pubDate>Tue, 10 Jun 2008 08:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113127#M90085</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-06-10T08:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113128#M90086</link>
      <description>Thanks a lot,&lt;BR /&gt;&lt;BR /&gt;It works fine</description>
      <pubDate>Tue, 10 Jun 2008 08:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113128#M90086</guid>
      <dc:creator>Bruno Seghers</dc:creator>
      <dc:date>2008-06-10T08:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113129#M90087</link>
      <description>Thanks to all</description>
      <pubDate>Tue, 10 Jun 2008 08:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113129#M90087</guid>
      <dc:creator>Bruno Seghers</dc:creator>
      <dc:date>2008-06-10T08:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the pid associated to a lnm$job_xxxxx table</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113130#M90088</link>
      <description>Bonjour Bruno&lt;BR /&gt;&lt;BR /&gt;Ian Miller has written a handy SDA extension called LN&lt;BR /&gt;&lt;A href="http://vms.process.com/ftp/vms-freeware/fileserv/ln_sda.zip" target="_blank"&gt;http://vms.process.com/ftp/vms-freeware/fileserv/ln_sda.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;that may help.&lt;BR /&gt;&lt;BR /&gt;And in Sda, you have LNM&lt;BR /&gt;sda&amp;gt; LNM LOAD&lt;BR /&gt;sda&amp;gt; LNM START TRACE&lt;BR /&gt;or &lt;BR /&gt;sda&amp;gt; LNM SH TRACE/LOGICAL&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;sda&amp;gt; LNM START COLLECT/LOGICAL&lt;BR /&gt;&lt;BR /&gt;By the way, once you have your value, you can pipe all that, example with 8182DFC0&lt;BR /&gt;$ say := wr sys$output&lt;BR /&gt;$ pipe ( say "read sysdef" ; say " exam 8182DFC0+JIB$L_MPID" ) | ana/sys&lt;BR /&gt;&lt;BR /&gt;I have submitted 3 procedures recently with a similar idea on dcl.openvms.org</description>
      <pubDate>Tue, 10 Jun 2008 08:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-find-the-pid-associated-to-a-lnm-job-xxxxx-table/m-p/5113130#M90088</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-06-10T08:47:14Z</dc:date>
    </item>
  </channel>
</rss>

