<?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: Logicals in detached processes / Finding the input file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992782#M34455</link>
    <description>Thank you for your help. I think that I have found the problem now by myself. It was a initialization for external modules used by my program which destroyed my lnm$file_dev (my logical name tables where deleted from lnm$file_dev).</description>
    <pubDate>Tue, 25 Jul 2006 03:52:42 GMT</pubDate>
    <dc:creator>Mohren</dc:creator>
    <dc:date>2006-07-25T03:52:42Z</dc:date>
    <item>
      <title>Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992774#M34447</link>
      <description>I do not understand the handling of logicals in detached processes. When I start a detached process where the input file is in the actual directory, everything is fine. &lt;BR /&gt;E.g.&lt;BR /&gt;run /detached /input=input_file.com sys$system:loginout&lt;BR /&gt;When I try to get the input file from another directory, I get an error&lt;BR /&gt;E.g.&lt;BR /&gt;run /detached /input=mydir:input_file.com sys$system:loginout&lt;BR /&gt;The error I get in the output file seems to tell me that he cannot open the input file:&lt;BR /&gt;Error opening primary input file sys$input&lt;BR /&gt;Error in file name&lt;BR /&gt;mydir is defined in system table, so he should find it. Besides, when I put a show logical * in the local input file, it shows that he knows mydir&lt;BR /&gt;Thanks in advance for your help</description>
      <pubDate>Mon, 24 Jul 2006 11:03:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992774#M34447</guid>
      <dc:creator>Mohren</dc:creator>
      <dc:date>2006-07-24T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992775#M34448</link>
      <description>Mohren,&lt;BR /&gt;&lt;BR /&gt;You are likely encountering a protection problem. &lt;BR /&gt;&lt;BR /&gt;Do two things:&lt;BR /&gt;- Add a SHOW PROCESS/ALL following the SHOW LOGICAL&lt;BR /&gt;- Do a DIRECTORY/SECURITY on the file that you are having trouble accessing (and its directory).&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 24 Jul 2006 11:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992775#M34448</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-07-24T11:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992776#M34449</link>
      <description>Mohren,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;mydir is defined in system table&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;but is it defined /EXEC  (and any LNM in its translation path, up till the FYSICAL device name)?&lt;BR /&gt;&lt;BR /&gt;LOGINOUT is (obviously) a privileged image.&lt;BR /&gt;Those should (and do) honour only privileged mode ( ie, EXEC) logicals.&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</description>
      <pubDate>Mon, 24 Jul 2006 11:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992776#M34449</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-07-24T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992777#M34450</link>
      <description>Mohren,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;LOGINOUT is (obviously) a privileged &lt;BR /&gt;&amp;gt;image. Those should (and do) honour only&lt;BR /&gt;&amp;gt;privileged mode ( ie, EXEC) logicals.&lt;BR /&gt;&lt;BR /&gt;  Rare to catch Jan making a mistake. Sorry, this is not true! &lt;BR /&gt;&lt;BR /&gt;  As long as the logical name is visible to the detached process, the file can be found and executed (try it yourself).&lt;BR /&gt;&lt;BR /&gt;  If you can execute a procedure from your login directory, use one for debugging:&lt;BR /&gt;&lt;BR /&gt;sys$login:test.com&lt;BR /&gt;$ show logical/full mydir&lt;BR /&gt;$ dir/full mydir:input_file.com&lt;BR /&gt;$ type mydir:input_file.com&lt;BR /&gt;$ @mydir:input_file.com&lt;BR /&gt;&lt;BR /&gt;now execute it detached&lt;BR /&gt;$ run/detached/input=test.com/out=test.log sys$system:loginout&lt;BR /&gt;&lt;BR /&gt;check the dir, type or "@" commands for errors.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jul 2006 16:57:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992777#M34450</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-07-24T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992778#M34451</link>
      <description>Thank you for alle your answers. I do not see a  protection problem, as the file and the directory has RWE on all levels. But there might be some security problem, for the command works fine when I put input_file.com in my home directory, and start it from there.&lt;BR /&gt;I then tried to define the logical in exec mode, but it did not help either. I then tried test.com as given by John, and it worked fine! He showed me all the logicals, and even started mydir:input_file.com. But without this com file in between, it still does not work.&lt;BR /&gt;acco/full/id=&lt;PID&gt; for the generated process gives me a final status code 000184C4: %RMS-F-DEV, error in device name or inappropriate device type&lt;/PID&gt;</description>
      <pubDate>Tue, 25 Jul 2006 00:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992778#M34451</guid>
      <dc:creator>Mohren</dc:creator>
      <dc:date>2006-07-25T00:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992779#M34452</link>
      <description>(already posted it on previous thread)&lt;BR /&gt;I think it's the f$parse you need.&lt;BR /&gt;/input='f$parse("file")'&lt;BR /&gt;Idem for /output and /error.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jul 2006 01:57:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992779#M34452</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-07-25T01:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992780#M34453</link>
      <description>I just tested it on 6.2 and 7.3. These systems do not need the f$pars. The f$pars was however added because of the error message you get. But it could be because of VAX 5.5 or a setup of the logicals that was different many years ago.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 25 Jul 2006 02:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992780#M34453</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-07-25T02:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992781#M34454</link>
      <description>Thank you for your help. I think that I have found the problem now by myself. It was a initialization for external modules used by my program which destroyed my lnm$file_dev (my logical name tables where deleted from lnm$file_dev).</description>
      <pubDate>Tue, 25 Jul 2006 03:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992781#M34454</guid>
      <dc:creator>Mohren</dc:creator>
      <dc:date>2006-07-25T03:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992782#M34455</link>
      <description>Thank you for your help. I think that I have found the problem now by myself. It was a initialization for external modules used by my program which destroyed my lnm$file_dev (my logical name tables where deleted from lnm$file_dev).</description>
      <pubDate>Tue, 25 Jul 2006 03:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992782#M34455</guid>
      <dc:creator>Mohren</dc:creator>
      <dc:date>2006-07-25T03:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Logicals in detached processes / Finding the input file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992783#M34456</link>
      <description>Found it. My script conditionally used group or job logicals that were not seen by loginout (used /uic).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 25 Jul 2006 05:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/logicals-in-detached-processes-finding-the-input-file/m-p/4992783#M34456</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-07-25T05:46:23Z</dc:date>
    </item>
  </channel>
</rss>

