<?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: 'dir' on logicals for concealed devices in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560041#M17767</link>
    <description>Concealed logical names should point to a device. Pointing them to another logical name is unsupported.&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Jan 2010 13:25:41 GMT</pubDate>
    <dc:creator>Jur van der Burg</dc:creator>
    <dc:date>2010-01-07T13:25:41Z</dc:date>
    <item>
      <title>'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560040#M17766</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  We have a few logicals defined as concealed devices and we are seeing some differences when doing identical 'dir' commands on a Alpha w. OpenVMS 8.2 vs Itaninum w. OpenVMS 8.3-1H1 on identically defined logicals.&lt;BR /&gt;&lt;BR /&gt;  The 'dir' command is entered directly for the logical i.e. without specifying any default. E.g.&lt;BR /&gt;&lt;BR /&gt;$ dir local_root&lt;BR /&gt;&lt;BR /&gt;  where 'local_root' is defined as &lt;BR /&gt;&lt;BR /&gt;  "LOCAL_ROOT" [super] = "disk$mylabel:[dir1.]" [concealed] (LNM$PROCESS_TABLE)&lt;BR /&gt;&lt;BR /&gt;  On Alpha (8.2) each object is listed exactly once but on the Itanium (8.3-1H1) each object is listed twice.&lt;BR /&gt;&lt;BR /&gt;  By adding the default (subdir) when entering the command i.e. 'dir local_root:[dir2]' each object is listed exactly once on both platforms.&lt;BR /&gt;&lt;BR /&gt;  I dont know if the syntax we're using is supported, but it's apparently become a habit both no the command line and in dcl-scripts.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;- Ingvaldur</description>
      <pubDate>Thu, 07 Jan 2010 11:32:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560040#M17766</guid>
      <dc:creator>Ingvaldur</dc:creator>
      <dc:date>2010-01-07T11:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: 'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560041#M17767</link>
      <description>Concealed logical names should point to a device. Pointing them to another logical name is unsupported.&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 13:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560041#M17767</guid>
      <dc:creator>Jur van der Burg</dc:creator>
      <dc:date>2010-01-07T13:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: 'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560042#M17768</link>
      <description>Thanks for reply but redefining the logical to point to a device gave the same results.&lt;BR /&gt;&lt;BR /&gt;The local_root is now defined like:&lt;BR /&gt;  "LOCAL_ROOT" [super] = "mynodename$dkb21:[dir1.]" [concealed] (LNM$PROCESS_TABLE)&lt;BR /&gt;&lt;BR /&gt;  Having default set to 'test' and listing the contents of local_root:[test] without specifying 'test' gives the following results:&lt;BR /&gt;&lt;BR /&gt;$ dir /size/date/prot local_root&lt;BR /&gt;&lt;BR /&gt;Directory local_root:[TEST]&lt;BR /&gt;&lt;BR /&gt;ccc.c;1               0.50KB   5-JAN-2010 13:20:18.43  (RE,RWED,RWED,RE)&lt;BR /&gt;ccc.c;1               0.50KB   5-JAN-2010 13:20:18.43  (RE,RWED,RWED,RE)&lt;BR /&gt;&lt;BR /&gt;Total of 2 files, 1KB&lt;BR /&gt;&lt;BR /&gt;  It works as expected when specifying default/subdir when listing contents from above like:&lt;BR /&gt;&lt;BR /&gt;$ dir /size/date/prot local_root:[test]&lt;BR /&gt;&lt;BR /&gt;Directory LOCAL_ROOT:[TEST]&lt;BR /&gt;&lt;BR /&gt;ccc.c;1               0.50KB   5-JAN-2010 13:20:18.43  (RE,RWED,RWED,RE)&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0.50KB&lt;BR /&gt;&lt;BR /&gt;  (We have a lot of concealed logicals that point to other logicals and it just works. But we're going to change that so they point to devices instead. Thank you for pointing that out.)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;- Ingi</description>
      <pubDate>Thu, 07 Jan 2010 13:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560042#M17768</guid>
      <dc:creator>Ingvaldur</dc:creator>
      <dc:date>2010-01-07T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: 'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560043#M17769</link>
      <description>Ingvaldur,&lt;BR /&gt;&lt;BR /&gt;Instead of explicitly specifying device names, it is far better to use the F$TRNLNM lexical function to dynamically translate the inner logical to a device name.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;  $ ASSIGN/JOB/TRANSLAT=CONCEAL 'F$TRNLNM("SYS$SYSDEVICE")'[KUMQUAT.] DISK$KUMQUAT:&lt;BR /&gt;&lt;BR /&gt;Note that the ":" at the end of the device name is part of the string returned by F$TRNLNM. I strongly suggest careful understanding of the behavior of the lexical function before use, but this is far safer than explicitly inserting device names.&lt;BR /&gt;&lt;BR /&gt;I also recommend reading my series of OpenVMS Consultant articles on OpenVMS.org relating to the use of logical names. The first article in the series can be found at:&lt;BR /&gt;&lt;A href="http://www.openvms.org/stories.php?story=02/09/24/5441505" target="_blank"&gt;http://www.openvms.org/stories.php?story=02/09/24/5441505&lt;/A&gt;&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>Thu, 07 Jan 2010 15:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560043#M17769</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2010-01-07T15:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560044#M17770</link>
      <description>Jur,&lt;BR /&gt;&lt;BR /&gt;A concealed logical name definition CAN use another logical name, as long as that logical name is a concealed name defined as a physical device name.   A common example is:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE/TRAN=CONCEAL logical DISK$volume:[dir.]&lt;BR /&gt;&lt;BR /&gt;This has been supported since VMS 6.0. IIRC.</description>
      <pubDate>Thu, 07 Jan 2010 16:43:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560044#M17770</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2010-01-07T16:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: 'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560045#M17771</link>
      <description>&lt;BR /&gt;You did not show from which default You are issuing the Directory command.&lt;BR /&gt;  DIR LOCAL_ROOT&lt;BR /&gt;effectively results in &lt;BR /&gt;  DIR LOCAL_ROOT:[current_default].&lt;BR /&gt;Do a SHOW DEFAULT on the 2 systems in question.&lt;BR /&gt;&lt;BR /&gt;The twice listing behaviour can be explained, if the current default is a list logical like SYS$COMMON or any other such logical list.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 18:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560045#M17771</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2010-01-07T18:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: 'dir' on logicals for concealed devices</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560046#M17772</link>
      <description>I had just figured that out for an hour ago, and just by accident, that if I did a 'set default local_root:&lt;TEST&gt;' before listing the contents of local_root, then everything worked as expected (i.e. objects did show up only once).&lt;BR /&gt;&lt;BR /&gt;One dcl-script that we use to changed between modules (and setting up various logicals) did set the default to the search-list which was defined from local_root + common_root.&lt;BR /&gt;&lt;BR /&gt;Thank you all for your responses.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;- Ingvaldur&lt;/TEST&gt;</description>
      <pubDate>Thu, 07 Jan 2010 18:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-on-logicals-for-concealed-devices/m-p/4560046#M17772</guid>
      <dc:creator>Ingvaldur</dc:creator>
      <dc:date>2010-01-07T18:46:12Z</dc:date>
    </item>
  </channel>
</rss>

