<?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: Open VMS Run detached process query in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872593#M79225</link>
    <description>Steven gave a good solution.&lt;BR /&gt;&lt;BR /&gt;Another way to achieve this is by way of Logical Names.&lt;BR /&gt;&lt;BR /&gt;Define the values of your params (and I favor using meaningful names) in a table that is accessible by the detached process.&lt;BR /&gt;I much prefer creating a dedicated LogicalNameTable (if so desired, those can be clusterwide, in which case they survive node reboot!), but you might also decide to use the LNM$GROUP_&lt;GROUPUIC of="" oms_master=""&gt;&lt;BR /&gt;&lt;BR /&gt;Now in cpsmon.com, for each "param", do a F$TRNLNM&lt;BR /&gt;&lt;BR /&gt;We have found this a very effective and very flexible way to handle those kind of things, but as always,&lt;BR /&gt;YMMV.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/GROUPUIC&gt;</description>
    <pubDate>Sat, 30 Sep 2006 07:13:46 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2006-09-30T07:13:46Z</dc:date>
    <item>
      <title>Open VMS Run detached process query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872591#M79223</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to runa detached job like&lt;BR /&gt;RUN/PROC = cpsmon_sysx -&lt;BR /&gt;           /uic = [OMS_MASTER] -&lt;BR /&gt;           /INPUT=  tc_log:cpsmon.com -&lt;BR /&gt;           /enqu=2000 -&lt;BR /&gt;           /priv=(all,nobypass) -&lt;BR /&gt;           /io_b=1000 -&lt;BR /&gt;           /io_d=200 -&lt;BR /&gt;           /extent = 20000 -&lt;BR /&gt;           /maxi = 100000 -&lt;BR /&gt;           /work = 50000 -&lt;BR /&gt;           /buff = 80000 -           &lt;BR /&gt;           /file = 150 -&lt;BR /&gt;           /page = 180000 -&lt;BR /&gt;           /queu = 50 -&lt;BR /&gt;           /subp = 6 -&lt;BR /&gt;           /ast_l = 500 -&lt;BR /&gt;           sys$system:loginout&lt;BR /&gt;&lt;BR /&gt;My command file cpsmon have few parameters in it..please let me know how to submit cpsmon with parameter p1 and p2 as a detached job</description>
      <pubDate>Fri, 29 Sep 2006 19:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872591#M79223</guid>
      <dc:creator>Srikanth Arunachalam</dc:creator>
      <dc:date>2006-09-29T19:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS Run detached process query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872592#M79224</link>
      <description>I don't do this, but my guess would be that&lt;BR /&gt;you need to create a new "temp.com" which&lt;BR /&gt;does something like:&lt;BR /&gt;&lt;BR /&gt;$ @ tc_log:cpsmon.com 'p1' 'p2'&lt;BR /&gt;&lt;BR /&gt;This seems to be what is done, for example,&lt;BR /&gt;in SYS$MANAGER:DECW$STARTSERVER.COM.  (Look&lt;BR /&gt;for "decw$killserver".)</description>
      <pubDate>Fri, 29 Sep 2006 19:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872592#M79224</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-09-29T19:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS Run detached process query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872593#M79225</link>
      <description>Steven gave a good solution.&lt;BR /&gt;&lt;BR /&gt;Another way to achieve this is by way of Logical Names.&lt;BR /&gt;&lt;BR /&gt;Define the values of your params (and I favor using meaningful names) in a table that is accessible by the detached process.&lt;BR /&gt;I much prefer creating a dedicated LogicalNameTable (if so desired, those can be clusterwide, in which case they survive node reboot!), but you might also decide to use the LNM$GROUP_&lt;GROUPUIC of="" oms_master=""&gt;&lt;BR /&gt;&lt;BR /&gt;Now in cpsmon.com, for each "param", do a F$TRNLNM&lt;BR /&gt;&lt;BR /&gt;We have found this a very effective and very flexible way to handle those kind of things, but as always,&lt;BR /&gt;YMMV.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/GROUPUIC&gt;</description>
      <pubDate>Sat, 30 Sep 2006 07:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872593#M79225</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-09-30T07:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS Run detached process query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872594#M79226</link>
      <description>Srikanth,&lt;BR /&gt;&lt;BR /&gt;  If you're on a late enough version of OpenVMS (8.2 or higher) you can CREATE/MAILBOX then specify that as your /INPUT. The creator process can then write the appropriate "@" command with whatever parameters you like.&lt;BR /&gt;&lt;BR /&gt;$ CREATE/MAILBOX DETMAIL&lt;BR /&gt;$ OPEN/WRITE DETCMD DETMAIL&lt;BR /&gt;$ RUN/DETACHED/INPUT='F$TRNLNM("DETMAIL") ...&lt;BR /&gt;$ WRITE DETCMD "@tc_log:cpsmon.com ""''par1'"" ""''par2'"""&lt;BR /&gt;$ CLOSE DETCMD&lt;BR /&gt;$ DELETE/MAILBOX DETMAIL&lt;BR /&gt;&lt;BR /&gt;Note that since the detached process will probably still have a channel open to the mailbox, it won't actually get deleted until the process terminates.&lt;BR /&gt;&lt;BR /&gt;Make sure you get the latest patches and check that your mailboxes get deleted properly, I think some of the early implementations had trouble cleaning up.</description>
      <pubDate>Sat, 30 Sep 2006 17:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-run-detached-process-query/m-p/3872594#M79226</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-09-30T17:34:51Z</dc:date>
    </item>
  </channel>
</rss>

