<?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 identify a process running in group table. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441167#M16844</link>
    <description>So the systems are standalone, not members of a VMS-cluster. This means the program gathering the logical names must run on each of the nodes  participating, and gathered together as I have written previously.&lt;BR /&gt;&lt;BR /&gt;Node names:&lt;BR /&gt;A procedure executing ON the node gets it via f$getsyi("NODENAME") (or the underlying sys$getsyi() RTL call).&lt;BR /&gt;Somehow Your application must have a list of the nodes in question, even if they have no name (DNS entry), it can be a list of IP addresses, but why can't You give them names in a local hosts file ? And at best give them names identical to the VMS node names.</description>
    <pubDate>Wed, 17 Jun 2009 12:20:47 GMT</pubDate>
    <dc:creator>Joseph Huber_1</dc:creator>
    <dc:date>2009-06-17T12:20:47Z</dc:date>
    <item>
      <title>How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441157#M16834</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have one question in checkinig the status of the logical.&lt;BR /&gt;&lt;BR /&gt;When i am executing a program(C) i need to check whether a particular logical is defined with a value by any other system on the same network.&lt;BR /&gt;&lt;BR /&gt;Program A at terminal TNA17:&lt;BR /&gt;logical created STATION_TNA17_CMD value "XX"&lt;BR /&gt;&lt;BR /&gt;Program B at terminal TNA18:&lt;BR /&gt;logical created STATION_TNA17_CMD Value "SERVER"&lt;BR /&gt;&lt;BR /&gt;My program C:&lt;BR /&gt;- need to identify whether any logical STATION_XXXX_CMD is assign with value "XX"&lt;BR /&gt;&lt;BR /&gt;i think my above question is clear, please let me know if you need more information.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ragav</description>
      <pubDate>Wed, 17 Jun 2009 06:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441157#M16834</guid>
      <dc:creator>Ragavendran_1</dc:creator>
      <dc:date>2009-06-17T06:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441158#M16835</link>
      <description>Not clear to me. &lt;BR /&gt;&lt;BR /&gt;"running in a group table" : process do not run in group tables.&lt;BR /&gt;&lt;BR /&gt;tna8 has a tna17 logical ?&lt;BR /&gt;&lt;BR /&gt;"other system on the same network" : do you mean a VMS server or a PC (and all pc's have the same server ?).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 17 Jun 2009 06:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441158#M16835</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-06-17T06:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441159#M16836</link>
      <description>Trying to interpret:&lt;BR /&gt;Several processes running on several networked VMS systems in the same UIC group define a group logical name of the form STATION_*_CMD, and Your process wants to scan all of them to find the ones with a certain value.&lt;BR /&gt;Can be done in DCL observing following remarks:&lt;BR /&gt;&lt;BR /&gt;(1) group logicals are not visible across nodes , so You have to execute the program/procedure on each node by some remote command execution (I think we had that theme discussed lately here), and gather their results.&lt;BR /&gt;&lt;BR /&gt;(2) The lexical function f$trnlnm does not handle wild-cards like STATION_*_CMD as the target; only "SHOW LOGICAL/GROUP STATION_*_CMD" does it, so somehow the output of that command has to be analyzed to get the  result.&lt;BR /&gt;&lt;BR /&gt;(3) If the * in logical names are not random, but restricted to real TNAn device names, then SHOW LOGICAL output scanning can be avoided, and a loop doing a TNA device scan followed by a f$trnlnm() for this particular  STATION_TNAx_CMD can be done.</description>
      <pubDate>Wed, 17 Jun 2009 07:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441159#M16836</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-06-17T07:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441160#M16837</link>
      <description>Ragav,&lt;BR /&gt;&lt;BR /&gt;first question: Are those stations in (the same) cluster? That would make things A LOT easier!&lt;BR /&gt;&lt;BR /&gt;Second question: Are you able to influence the way the LNMS are getting defined? &lt;BR /&gt;&lt;BR /&gt;Third; is the "XX" in your question literally two X's or does it represent any 2-character string?&lt;BR /&gt;&lt;BR /&gt;The answers will be decisive for the road to a solution.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 17 Jun 2009 08:10:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441160#M16837</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-06-17T08:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441161#M16838</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Your understanding is exactly what i wanna know. &lt;BR /&gt;&lt;BR /&gt;My system architecture is like one alpha server will have a max of 8 nodes connected to it and when any one of the nodes starts a process called XX.COM, then a logical STATION_TNA17_CMD logical will be created with the current running process &lt;BR /&gt;identifier "XX" (XX here is mean is a 2 character). &lt;BR /&gt;&lt;BR /&gt;When i execute a COM file in any one of the 8 node, then i should check for the rest of the node's process by means of the logical STATION_XXXX_CMD with "XX" or "YYYY" or "ZZZZ". Basically this logical is defined in the GORUP table.&lt;BR /&gt;&lt;BR /&gt;Remark (1): yes i agree and am trying to create a com procedure.&lt;BR /&gt;Remark (2): Yes i tried using the wild card as you mention and not work out for me.&lt;BR /&gt;Remark (3): Sorry, i am not sure whether my live systems have the terminal name like TNAn, i gave as an example.&lt;BR /&gt;            this is a random across my server (my program should work in different alpha server, which may have diffrent             terminal names) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JPE,&lt;BR /&gt;&lt;BR /&gt;First Question : Yes since all the nodes are connected to the same Alpha server.&lt;BR /&gt;Second Question: am not getting what you are asking me to try.&lt;BR /&gt;Third Question : XX is a 2character string. not only 2 character it depends on processes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wim,&lt;BR /&gt;&lt;BR /&gt;Sorry for my bad explanation and the topic name. That misleads my questions. &lt;BR /&gt;I think now you can understand my requirement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i have found a small solution but suggest me if it is fine:&lt;BR /&gt;&lt;BR /&gt;$ sh log/group station*&lt;BR /&gt;$ status = $status&lt;BR /&gt;$ if (.not. status)&lt;BR /&gt;$ then &lt;BR /&gt;$    "No process is running"&lt;BR /&gt;$ else&lt;BR /&gt;$    "Found one process"&lt;BR /&gt;$ endif &lt;BR /&gt;&lt;BR /&gt;the above code can find any logicalis present or not in the group table... &lt;BR /&gt;&lt;BR /&gt;My question is: is there any way to identify the list of logicals and its value by writing a COM file.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ragav.</description>
      <pubDate>Wed, 17 Jun 2009 08:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441161#M16838</guid>
      <dc:creator>Ragavendran_1</dc:creator>
      <dc:date>2009-06-17T08:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441162#M16839</link>
      <description>If the logicals are define as STATION_term_CMD, then a loop like this will find them:&lt;BR /&gt;&lt;BR /&gt;$ node=f$getsyi("NODENAME")&lt;BR /&gt;$ loop:&lt;BR /&gt;$ device=F$DEVICE("_''node'$*","TERM")&lt;BR /&gt;$ if device.eqs."" then exit&lt;BR /&gt;$ unit=device - f$getdvi(device,"HOST_NAME") - "_" -"$" - ":"&lt;BR /&gt;$ lnam = "STATION_"+unit+"_CMD"&lt;BR /&gt;$ write sys$output lnam," has value ",f$trnlnm(lnam,"LNM$GROUP")&lt;BR /&gt;$ goto loop&lt;BR /&gt;&lt;BR /&gt;This works on clustered systems, where terminal devices have the name _node$ddcu:&lt;BR /&gt;I can't test on standalone systems, maybe You have to change the wild-card device name in the f$device call.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 08:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441162#M16839</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-06-17T08:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441163#M16840</link>
      <description>Ragan, in addition could You tell us a bit more what You try to accomplish:&lt;BR /&gt;My above procedure does formally get those logicals.&lt;BR /&gt;But You are talking about identifying processes ?&lt;BR /&gt;A logical does not tell its creator. If part of the logical is the creators terminal name, then the process can be found using the terminals "owner" process.&lt;BR /&gt;But a much more straight forward way would be to set the process name to something like STATION_CMD_CLIENT_term or STATION_CMD_SERVER_term or STATION_CMD_XX_term or similar.&lt;BR /&gt;&lt;BR /&gt;Then a cluster-wide process scan can find all those processes, without executing remote procedures.</description>
      <pubDate>Wed, 17 Jun 2009 10:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441163#M16840</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-06-17T10:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441164#M16841</link>
      <description>Ragav,&lt;BR /&gt;&lt;BR /&gt;so all stations and the server are part of ONE cluster. Nice.&lt;BR /&gt;&lt;BR /&gt;Your program A &lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;logical created STATION_TNA17_CMD value "XX"&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Do you have control over program A?&lt;BR /&gt;&lt;BR /&gt;if YES, then &lt;BR /&gt;create the logical name not in GROUP table, but in LNM$SYSCLUSTER_TABLE&lt;BR /&gt;(oops, forgot to ask your VMS version. This DOES require at least VMS 7.2)&lt;BR /&gt;&lt;BR /&gt;if NO; then after Program A runs, add one line of DCL code:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE /table=lnm$syscluster_table STATION_TNA17_CMD 'f$trnlnm("STATION_TNA17_CMD")'&lt;BR /&gt;-- Effectively: duplicate the GROUP logical name in the cluster table.&lt;BR /&gt;&lt;BR /&gt;-- for easy retrival, I would add an extra set of logicals in that table:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE /table=lnm$syscluster_table STATION_'f$getsyi("nodename")'_CMD 'XXXX'_'XX'&lt;BR /&gt;( XXXX is the relevant TNA; XX is the 2 chars)&lt;BR /&gt;&lt;BR /&gt;Now you have ONE logical to query to get each node's relevant TNA (or whatever) and its assigned value of XX.&lt;BR /&gt;&lt;BR /&gt;(P.S. if you are on a lower version of VMS, the seriously consider upgrading. If that is impossible, things were more complex back then, but I have done them before.) &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;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 11:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441164#M16841</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-06-17T11:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441165#M16842</link>
      <description>Ragav,&lt;BR /&gt;&lt;BR /&gt;Please provide the result of executing the following command, just so we can be sure we are discussing the same thing when we use the term "cluster".&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$getsyi("CLUSTER_NODES")&lt;BR /&gt;&lt;BR /&gt;Also, please tell us a bit more what You try to accomplish, as Joseph asked.&lt;BR /&gt;&lt;BR /&gt;My guess is that there is a more appropriate solution than logical names.  I am thinking the lock manager would be a better fit (given that you are trying to determine if another process already is using something).&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Wed, 17 Jun 2009 11:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441165#M16842</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-06-17T11:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441166#M16843</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Am not worried about the process which is running. I need to get all the logicals and its corresponding values.&lt;BR /&gt;I dont know the how the node name would be, i basically specify the IP address of the node. &lt;BR /&gt;&lt;BR /&gt;The output i got from the command is 0 (zero)&lt;BR /&gt;$ write sys$output f$getsyi("CLUSTER_NODES")&lt;BR /&gt;&lt;BR /&gt;jpe,&lt;BR /&gt;&lt;BR /&gt;The solution am looking for is to check all the logicals created in GROUP table not in creating a logicals.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Regards,&lt;BR /&gt;ragav</description>
      <pubDate>Wed, 17 Jun 2009 11:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441166#M16843</guid>
      <dc:creator>Ragavendran_1</dc:creator>
      <dc:date>2009-06-17T11:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441167#M16844</link>
      <description>So the systems are standalone, not members of a VMS-cluster. This means the program gathering the logical names must run on each of the nodes  participating, and gathered together as I have written previously.&lt;BR /&gt;&lt;BR /&gt;Node names:&lt;BR /&gt;A procedure executing ON the node gets it via f$getsyi("NODENAME") (or the underlying sys$getsyi() RTL call).&lt;BR /&gt;Somehow Your application must have a list of the nodes in question, even if they have no name (DNS entry), it can be a list of IP addresses, but why can't You give them names in a local hosts file ? And at best give them names identical to the VMS node names.</description>
      <pubDate>Wed, 17 Jun 2009 12:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441167#M16844</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-06-17T12:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441168#M16845</link>
      <description>RE:"The solution am looking for is to check all the logicals created in GROUP table not in creating a logicals."&lt;BR /&gt;&lt;BR /&gt;The Group table on the "central" node, or the group tables on all the up to 8 systems that are connecting to the central computer.&lt;BR /&gt;&lt;BR /&gt;Why can't you answer what you are trying to accomplish?  Why does program C need to identify whether any logical STATION_XXXX_CMD is assign with value "XX"&lt;BR /&gt;&lt;BR /&gt;Answering the question you are asking probably won't solve the real problem.&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 12:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441168#M16845</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-06-17T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441169#M16846</link>
      <description>Ragav,&lt;BR /&gt;&lt;BR /&gt;so, no cluster - forget about that table.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;There are as many group tables as there are groups from which users have logged in since boot time. And potentially that can become a LARGE number (octal 37776, or decimal 16382)&lt;BR /&gt;Do you KNOW in WHICH group table to look for the logical?&lt;BR /&gt;Like Jon asked, tell us "what problem are you trying to solve", NOT what do you think may be the solution, but can not get implemented.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 17 Jun 2009 15:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441169#M16846</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-06-17T15:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441170#M16847</link>
      <description>&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;The solution am looking for is to check all the logicals created in GROUP table not in creating a logicals.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;The idea is to add a "helper" logical which in one pass can tell you the info you are trying to find.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 17 Jun 2009 15:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441170#M16847</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-06-17T15:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441171#M16848</link>
      <description>&lt;!--!*#--&gt;With a variation of my procedure posted earlier, does it what You want ?&lt;BR /&gt;&lt;BR /&gt;MPIW10_HUB&amp;gt;cat showstation.com&lt;BR /&gt;$ node=f$edit(f$getsyi("NODENAME"),"TRIM")&lt;BR /&gt;$ loop:&lt;BR /&gt;$ device=F$DEVICE("_''node'$*","TERM")&lt;BR /&gt;$ if device.eqs."" then exit&lt;BR /&gt;$ unit=device - f$getdvi(device,"HOST_NAME") - "_" -"$" - ":"&lt;BR /&gt;$ lnam = "STATION_"+unit+"_CMD"&lt;BR /&gt;$ value=f$trnlnm(lnam,"LNM$GROUP")&lt;BR /&gt;$ if value.nes."" then -&lt;BR /&gt;$ write sys$output node,":",lnam,":",value&lt;BR /&gt;$ goto loop&lt;BR /&gt;&lt;BR /&gt;MPIW10_HUB&amp;gt;cat showstation_all.com&lt;BR /&gt;$ rsh mpiw10 @[.scratch]showstation&lt;BR /&gt;$ rsh mpiw12 @[.scratch]showstation&lt;BR /&gt;&lt;BR /&gt;MPIW10_HUB&amp;gt;@showstation_all&lt;BR /&gt;MPIW10:STATION_FTA74_CMD:SERVER&lt;BR /&gt;MPIW12:STATION_FTA1_CMD:XX&lt;BR /&gt;&lt;BR /&gt;where MPIW10,MPIW12 are the nodes where the logicals are defined,&lt;BR /&gt;and the assumption my userids are in the desired UIC group on all of the nodes.&lt;BR /&gt;(otherwise add the target UIC group as a parameter to the showstation command procedure, and replace table=LNM$GROUP by table=LNM$GROUP_'p1' ).&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 18:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441171#M16848</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-06-17T18:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a process running in group table.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441172#M16849</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Thanks for your valuable reply, i have followed your logic and got my solution.&lt;BR /&gt;&lt;BR /&gt;In my system we have logical to identify the no. of terminals and the terminal names. &lt;BR /&gt; &lt;BR /&gt;Terminal_cnt 8&lt;BR /&gt;terminal1 TXA1&lt;BR /&gt;terminal2 TXA2&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;terminal8 TXA8&lt;BR /&gt;&lt;BR /&gt;so using this i got the device name like&lt;BR /&gt;&lt;BR /&gt;$ NUM = 1&lt;BR /&gt;$ CHK_PROC:&lt;BR /&gt;$ TERM_CNT = F$TRNLNM( "TERMINAL_COUNT")&lt;BR /&gt;$ IF (TERM_CNT .LE 0) THEN GOTO END&lt;BR /&gt;$ DEV = F$TRNLNM( "TERMINAL''NUM'")&lt;BR /&gt;$ IF(DEV .EQS. "")THEN GOTO PROC_END&lt;BR /&gt;$ IF( .NOT. F$GETDVI(DEV,"EXISTS"))THEN GOTO PROC_END&lt;BR /&gt;$ DEV = F$GETDVI( DEV,"TT_PHYDEVNAM")&lt;BR /&gt;$ IF( DEV .EQS. "")THEN GOTO PROC_END&lt;BR /&gt;$ STA = "STATION"+(DEV - ":")+"_CMD" &lt;BR /&gt;$ CMD = F$TRNLNM( "''STA'",GRP_TBL)&lt;BR /&gt;$ IF (CMD .EQS "XX") THEN&lt;BR /&gt;$    -- DO MY JOB --&lt;BR /&gt;$ ENDIF &lt;BR /&gt;$ PROC_END:&lt;BR /&gt;$ NUM = NUM + 1&lt;BR /&gt;$ IF (NUM .LE. TERM_CNT) THEN GOTO CHK_PROC&lt;BR /&gt;$ END:&lt;BR /&gt;$ EXIT&lt;BR /&gt;&lt;BR /&gt;WOO HOO.. I am bit new to Open VMS and DCL. &lt;BR /&gt;I never thought any forum available for this technology.. Great!! You Guys really doing great job.. Keep sending your valuable responses.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ragav.</description>
      <pubDate>Fri, 19 Jun 2009 04:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-identify-a-process-running-in-group-table/m-p/4441172#M16849</guid>
      <dc:creator>Ragavendran_1</dc:creator>
      <dc:date>2009-06-19T04:51:57Z</dc:date>
    </item>
  </channel>
</rss>

