<?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: Setting and getting the process name? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497078#M31890</link>
    <description>Martin,&lt;BR /&gt;&lt;BR /&gt;Attached a "set my process name" sample.&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Mar 2005 13:54:11 GMT</pubDate>
    <dc:creator>Kris Clippeleyr</dc:creator>
    <dc:date>2005-03-03T13:54:11Z</dc:date>
    <item>
      <title>Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497072#M31884</link>
      <description>This is a question from a longtime Unix developer with some degree of VMS understanding.&lt;BR /&gt;&lt;BR /&gt;The C RTL gives me 'getpid()', but how can I get the process *name* instead? Furthermore, can I set my process name, and if so how?&lt;BR /&gt;&lt;BR /&gt;All clues welcomed.&lt;BR /&gt;&lt;BR /&gt;M.</description>
      <pubDate>Thu, 03 Mar 2005 10:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497072#M31884</guid>
      <dc:creator>Martin Cowie</dc:creator>
      <dc:date>2005-03-03T10:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497073#M31885</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;Don't have a C routine at hand, but you can always call upon a system service from within a C routine.&lt;BR /&gt;The system service SYS$GETJPI[W] can pretty much return any information about the process. For setting the process name you have the system service SYS$SETPRN.&lt;BR /&gt;&lt;BR /&gt;See also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82FINAL/4527/4527PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/82FINAL/4527/4527PRO.HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2005 11:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497073#M31885</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-03-03T11:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497074#M31886</link>
      <description>or LIB$GETJPI with the item code JPI$_PRCNAM&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2005 11:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497074#M31886</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-03-03T11:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497075#M31887</link>
      <description>This is looking good, however, calling non RTL functions such as $GETJPI is a whole new world to me, and the ample docs you point me at leave me feeling bamboozled.&lt;BR /&gt;&lt;BR /&gt;Could anyone volunteer some example code, that I might how to call this and other system services in ANSI C?&lt;BR /&gt;&lt;BR /&gt;Your clues still welcomed,&lt;BR /&gt;&lt;BR /&gt;M.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2005 11:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497075#M31887</guid>
      <dc:creator>Martin Cowie</dc:creator>
      <dc:date>2005-03-03T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497076#M31888</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;'Ask Compaq' is your friend ;-)&lt;BR /&gt;&lt;BR /&gt;Example-C Using Lib$getjpi To Get Username Of Current Process &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h18000.www1.hp.com/support/asktima/appl_tools/0095E0CC-F98FF880-1C02A1.html" target="_blank"&gt;http://h18000.www1.hp.com/support/asktima/appl_tools/0095E0CC-F98FF880-1C02A1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 03 Mar 2005 11:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497076#M31888</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-03-03T11:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497077#M31889</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;Attached a "get my process name" sample.&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2005 13:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497077#M31889</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-03-03T13:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and getting the process name?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497078#M31890</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;Attached a "set my process name" sample.&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2005 13:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-and-getting-the-process-name/m-p/3497078#M31890</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-03-03T13:54:11Z</dc:date>
    </item>
  </channel>
</rss>

