<?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 Unexpected TPU behaviour. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773882#M9574</link>
    <description>A collegue mentioned weird behaviour of TPU.&lt;BR /&gt;&lt;BR /&gt;A logical A is defined as a searchlist:&lt;BR /&gt;A = disk1[a], disk2[b]&lt;BR /&gt;&lt;BR /&gt;file A:X.X does not exist at all.&lt;BR /&gt;&lt;BR /&gt;Interactively $ edit/tpu a:x.x should create this file as disk1:[A]X.X, since that is the first directory in the list; and it does.&lt;BR /&gt;In an interactive program however where TPU$EDIT is called with A:X.X as the file to edit/create, the file is created as disk2:[B}X.X - so on the SECOND directory.&lt;BR /&gt;Not exactly what is expected.&lt;BR /&gt;I could imagine that TPU$EDIT would search for the file and when not found, create the file in the last directory searched. &lt;BR /&gt;Is this a bug, or a feature?</description>
    <pubDate>Wed, 19 Apr 2006 07:49:30 GMT</pubDate>
    <dc:creator>Willem Grooters</dc:creator>
    <dc:date>2006-04-19T07:49:30Z</dc:date>
    <item>
      <title>Unexpected TPU behaviour.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773882#M9574</link>
      <description>A collegue mentioned weird behaviour of TPU.&lt;BR /&gt;&lt;BR /&gt;A logical A is defined as a searchlist:&lt;BR /&gt;A = disk1[a], disk2[b]&lt;BR /&gt;&lt;BR /&gt;file A:X.X does not exist at all.&lt;BR /&gt;&lt;BR /&gt;Interactively $ edit/tpu a:x.x should create this file as disk1:[A]X.X, since that is the first directory in the list; and it does.&lt;BR /&gt;In an interactive program however where TPU$EDIT is called with A:X.X as the file to edit/create, the file is created as disk2:[B}X.X - so on the SECOND directory.&lt;BR /&gt;Not exactly what is expected.&lt;BR /&gt;I could imagine that TPU$EDIT would search for the file and when not found, create the file in the last directory searched. &lt;BR /&gt;Is this a bug, or a feature?</description>
      <pubDate>Wed, 19 Apr 2006 07:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773882#M9574</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-04-19T07:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected TPU behaviour.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773883#M9575</link>
      <description>Before I forget: VMS 7.3-1, and the program involveld is built in a smartstar/Dibol ebvironment. However, our idea is that the porblem lies within TPU$EDIT, not within the program.</description>
      <pubDate>Wed, 19 Apr 2006 07:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773883#M9575</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-04-19T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected TPU behaviour.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773884#M9576</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;I've used the simple TPU$EDIT example from chapter 8.2 of the utility routines manual and cannot confirm the behaviour described in your post.&lt;BR /&gt;&lt;BR /&gt;TPU$EDIT uses 2 parameters, I've specified them both as A:X.X and defined a logical A as disk1:&lt;X&gt;,disk1:&lt;X.X&gt;&lt;BR /&gt;&lt;BR /&gt;When I execute the example program, it writes the A:X.X output file into the first directory pointed to by the A logical.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;&lt;BR /&gt;&lt;/X.X&gt;&lt;/X&gt;</description>
      <pubDate>Wed, 19 Apr 2006 08:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773884#M9576</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-04-19T08:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected TPU behaviour.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773885#M9577</link>
      <description>Willem,&lt;BR /&gt;Could you give the exact syntax of the call to TPU$EDIT. TPU$EDIT requires 2 arguments: the input file &amp;amp; the output file.&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Wed, 19 Apr 2006 08:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773885#M9577</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2006-04-19T08:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected TPU behaviour.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773886#M9578</link>
      <description>Willem,&lt;BR /&gt;Just tried to write a reproducer ( in C ).&lt;BR /&gt;But it doesn't do what you describe.&lt;BR /&gt;I've defined ADIR as "HOME$ROOT:[TMP35],HOME$ROOT:[TMP36]", and the input argument to TPU$EDIT is specified as ADIR:X.X, the length output argument is set to 0. The X.X file is created in the [TMP35] directory (as expected).&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Wed, 19 Apr 2006 09:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773886#M9578</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2006-04-19T09:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected TPU behaviour.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773887#M9579</link>
      <description>The code sniplet is:&lt;BR /&gt;&lt;BR /&gt;result = tpu$edit(bestand||"/SECTION = EXE:RBS.TPU$SECTION");&lt;BR /&gt;&lt;BR /&gt;I will ask my collegue what's in the section file, since the outputfile (the second parameter) seems empty, I guess the source of the problem is in there.&lt;BR /&gt;&lt;BR /&gt;(kept on hold)</description>
      <pubDate>Wed, 19 Apr 2006 14:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unexpected-tpu-behaviour/m-p/3773887#M9579</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-04-19T14:45:23Z</dc:date>
    </item>
  </channel>
</rss>

