<?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: Problem in activating UNIFACE on OpenVMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775342#M34037</link>
    <description>Prasad,&lt;BR /&gt;&lt;BR /&gt;welcome to the OpenVMS ITRC forum.&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The pid of the spawned process is shown 0.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;This seems to indicate, that the SPAWN command (from the C program, assuming you're using LIB$SPAWN) was NOT successful. Do you check the return status of the LIB$SPAWN call: status = LIB$SPAWN(...) ?&lt;BR /&gt;&lt;BR /&gt;Does the user's PRCLM (Subprocess quota) allow to create 2 subprocesses ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Sun, 23 Apr 2006 01:18:46 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2006-04-23T01:18:46Z</dc:date>
    <item>
      <title>Problem in activating UNIFACE on OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775339#M34034</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am facing problem in activating UNIFACE from another UNIFACE session on OpenVMS. The main UNIFACE session spawns a DCL script. This DCL script in turn activates a C program. The C program in turn activates another DCL script (using lib$spawn system service), and this second DCL script activates UNIFACE again.&lt;BR /&gt;&lt;BR /&gt;To represent the flow:&lt;BR /&gt;UNIFACE (main session) &amp;gt;&amp;gt; DCL script (1st) &amp;gt;&amp;gt; C program &amp;gt;&amp;gt; DCL script (2nd) &amp;gt;&amp;gt; UNIFACE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Invoking UNIFACE (or any other simple command for that matter) through C is not successful if the C program is activated from the UNIFACE session. The pid of the spawned process is shown 0. However, if I activate the C program directly from command line, UNIFACE can be activated.&lt;BR /&gt;&lt;BR /&gt;Can someone please explain what needs to be done to solve this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Prasad</description>
      <pubDate>Fri, 21 Apr 2006 00:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775339#M34034</guid>
      <dc:creator>Prasad Londhe</dc:creator>
      <dc:date>2006-04-21T00:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in activating UNIFACE on OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775340#M34035</link>
      <description>Did this previously work ?&lt;BR /&gt;Do you get an actual system generated error message back ? and if so can you post here ?&lt;BR /&gt;Is there anything in the accounting file ?&lt;BR /&gt;Also dir/sin in the directory the product runs under (look at files created, perhaps any .log .dmp files)&lt;BR /&gt;Using the two methods you decribe (one fails, one works) are you using the same uaf username, on the same system ?&lt;BR /&gt;Check the value of prclm in the uaf&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;John.</description>
      <pubDate>Fri, 21 Apr 2006 01:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775340#M34035</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-04-21T01:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in activating UNIFACE on OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775341#M34036</link>
      <description>In addition to what is posted in the response, I would suggest the following:&lt;BR /&gt;&lt;BR /&gt;When you create a sub process the definition of input/output/error is important.&lt;BR /&gt;&lt;BR /&gt;1UNIFACE (main session) &amp;gt;&amp;gt;&lt;BR /&gt;2 DCL script (1st) &amp;gt;&amp;gt; &lt;BR /&gt;3 C program &amp;gt;&amp;gt; &lt;BR /&gt;4 DCL script (2nd) &amp;gt;&amp;gt; &lt;BR /&gt;5.UNIFACE&lt;BR /&gt;&lt;BR /&gt;Based on your above input, the steps 3 4 and 5 are done through a C program from the command line interface which you say is working "However, if I activate the C program directly from command line, UNIFACE can be activated."&lt;BR /&gt;Is this correct?&lt;BR /&gt;If you invoke the C program in step 3 using command line arguments, you may want to make sure that the same command line arguments are passed to step 3 when you start at step 1.&lt;BR /&gt;&lt;BR /&gt;Since you mentioned PID, do you get a different PID when you invoke from the command line?&lt;BR /&gt;Also, when you say it works when you invoke the C program from a command line, do you still use another DCL script to invoke UNIFACE, as in step 4 above?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Malleka&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Apr 2006 18:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775341#M34036</guid>
      <dc:creator>Malleka Ramachandran</dc:creator>
      <dc:date>2006-04-22T18:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in activating UNIFACE on OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775342#M34037</link>
      <description>Prasad,&lt;BR /&gt;&lt;BR /&gt;welcome to the OpenVMS ITRC forum.&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The pid of the spawned process is shown 0.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;This seems to indicate, that the SPAWN command (from the C program, assuming you're using LIB$SPAWN) was NOT successful. Do you check the return status of the LIB$SPAWN call: status = LIB$SPAWN(...) ?&lt;BR /&gt;&lt;BR /&gt;Does the user's PRCLM (Subprocess quota) allow to create 2 subprocesses ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sun, 23 Apr 2006 01:18:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-in-activating-uniface-on-openvms/m-p/3775342#M34037</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-04-23T01:18:46Z</dc:date>
    </item>
  </channel>
</rss>

