<?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: VMS filesystem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111983#M13701</link>
    <description>"Strictly speaking, VMS doesn't behave as if&lt;BR /&gt;the directory exists. It simply doesn't care&lt;BR /&gt;whether it exists until you try to do&lt;BR /&gt;something with it."&lt;BR /&gt;&lt;BR /&gt;So does the filesystem allocates some drive blocks and then immediately unallocates them or...???&lt;BR /&gt;Why such a behaviour anyway?&lt;BR /&gt;</description>
    <pubDate>Wed, 05 Dec 2007 14:48:37 GMT</pubDate>
    <dc:creator>Darijo</dc:creator>
    <dc:date>2007-12-05T14:48:37Z</dc:date>
    <item>
      <title>VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111974#M13692</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Why doesn't VMS respond with error message when you want to enter the directory which doesn't exist, but instead it behaves like it does exist???</description>
      <pubDate>Wed, 05 Dec 2007 10:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111974#M13692</guid>
      <dc:creator>Darijo</dc:creator>
      <dc:date>2007-12-05T10:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111975#M13693</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;when you want to enter the directory which doesn't exist,&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;What exactly do you mean by that?&lt;BR /&gt;What command?&lt;BR /&gt;Is error reporting enabled.disabled (via SET MESSAGE)&lt;BR /&gt;&lt;BR /&gt;Please supply more info.&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, 05 Dec 2007 11:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111975#M13693</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-05T11:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111976#M13694</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;Where appropriate, OpenVMS does return error codes. What command does your post refer to?&lt;BR /&gt;&lt;BR /&gt;As a guess, your post refers to SET DEFAULT. Among other things, SET DEFAULT to a non-existent directory allows a subsequent CREATE/DIRECTORY [] command to create all directories in the path.&lt;BR /&gt;&lt;BR /&gt;As a sample, do EITHER:&lt;BR /&gt;&lt;BR /&gt;   SET DEFAULT [.XX]&lt;BR /&gt;   SET DEFAULT [.YY]&lt;BR /&gt;   SET DEFAULT [.ZZ]&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;   SET DEFAULT [.XX.YY.ZZ]&lt;BR /&gt;&lt;BR /&gt;One is then able to do a CREATE/DIRECTORY [] and everything works correctly. One can argue that SET DEFAULT should check, and that the above behavior is a side effect, but that is the way it has always been, setting the default to a non-existent directory is not the error, using it as an actual reference is.&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>Wed, 05 Dec 2007 11:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111976#M13694</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-12-05T11:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111977#M13695</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;When you're logged in on a VMS system, and you do a SET DEFAULT you do NOT "enter" a directory, you simply change the default device/directory specification for your process.&lt;BR /&gt;Normally, whenever you try to access a file, you have to specify a valid file specification, i.e.:&lt;BR /&gt;&lt;BR /&gt;node"access-control-string"::device:[directory]filename.type;version&lt;BR /&gt;&lt;BR /&gt;To make our lives a bit easier, the VMS file system allows us to "forget" certain parts of this file specification, and will supply defaults.&lt;BR /&gt;The "node" defaults to the system you're logged in to.&lt;BR /&gt;The "access-control-string" is used in combination with an explicit "node" specification, so you can have a look at files sitting on storage devices on another system.&lt;BR /&gt;The defaults for the "device" and "directory" specifications are established at the time you log in (or are inherited), or are established/changed by a SET DEFAULT command.&lt;BR /&gt;It is only at the time the VMS filesystem has the need of using these defaults that a warning/error will be given if you specified either a device or a directory that does not exist.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Wed, 05 Dec 2007 12:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111977#M13695</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2007-12-05T12:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111978#M13696</link>
      <description>Why shouldn't it do what it does?  UNIX&lt;BR /&gt;compatibility?  (Not a good reason.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] CREATE/DIRECTORY [] [...]&lt;BR /&gt;&lt;BR /&gt;Exactly.  I find this very convenient.  Why&lt;BR /&gt;doesn't UNIX do it this way?&lt;BR /&gt;&lt;BR /&gt;Strictly speaking, VMS doesn't behave as if&lt;BR /&gt;the directory exists.  It simply doesn't care&lt;BR /&gt;whether it exists until you try to do&lt;BR /&gt;something with it.&lt;BR /&gt;&lt;BR /&gt;alp $ set default [.no-such-dir]&lt;BR /&gt;alp $ show default&lt;BR /&gt;  ALP$DKA0:[SMS.no-such-dir]&lt;BR /&gt;%DCL-I-INVDEF, ALP$DKA0:[SMS.no-such-dir] does not exist&lt;BR /&gt;&lt;BR /&gt;Note: Only "-I-", so it's still a success.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Interestingly (to me, at least), I've noticed&lt;BR /&gt;that running UnZip in a non-existent&lt;BR /&gt;directory will get that directory created for&lt;BR /&gt;you:&lt;BR /&gt;&lt;BR /&gt;alp $ unzip [-]VX.ZIP;1&lt;BR /&gt;Archive:  ALP$DKA0:[SMS]VX.ZIP;1&lt;BR /&gt;  inflating: [.vx]vx.mail&lt;BR /&gt;  inflating: [.vx]zip_bug.txt&lt;BR /&gt;  inflating: [.vx]zip_bug_u.txt&lt;BR /&gt;alp $ show default&lt;BR /&gt;  ALP$DKA0:[SMS.no-such-dir]&lt;BR /&gt;&lt;BR /&gt;Clever program.  (Or perhaps it's just&lt;BR /&gt;lucky.  Nice either way.)</description>
      <pubDate>Wed, 05 Dec 2007 12:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111978#M13696</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-12-05T12:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111979#M13697</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;Yes, I assume Bob guessed correctly.&lt;BR /&gt;&lt;BR /&gt;Now it becomes an issue of semantics.&lt;BR /&gt;&lt;BR /&gt;You phrase it as "enter the directory", and, and in practise I often here people talking about "sitting in " or "standing in " or "going to"  a directory.&lt;BR /&gt;As a matter of speach that may be entirely acceptable, but literally, if you try that you will get quite dizzy spinning at 10 or 15 K rpm! (and I do not have any visualisation of how that would work out in solid state!).&lt;BR /&gt;&lt;BR /&gt;Actually, VMS phrasing is pretty exact: what&lt;BR /&gt;&lt;BR /&gt;SET DEFAULT&lt;BR /&gt;does, is, it SETs a DEFAULT string in process memory, and that default string is used every time an incomplete file reference is used, to parse that reference to give the complete file syntax.&lt;BR /&gt;&lt;BR /&gt;Play around with parse (from DCL: the lexical F$PARSE, see HELP LEXICAL F$PARSE ARGUMENTS) and the default file spec field, to get the feel of it.&lt;BR /&gt;&lt;BR /&gt;And yes, (yet) (partly) non-existing filespecs are allowed, if for no other reason than to be able to specify what is be be created.&lt;BR /&gt;&lt;BR /&gt;This background info also makes it easier to understand phenomena as eg:&lt;BR /&gt;&lt;BR /&gt;DIR DEVICE:&lt;BR /&gt;&lt;BR /&gt;now, if DEVICE is another device as the device part previously specified by SET DEFAULT, and the default directory does not exist on DEVICE, the effect becomes evident.&lt;BR /&gt;&lt;BR /&gt;eg&lt;BR /&gt;&lt;BR /&gt;$ SET DEFAULT MY_DEVICE:[MY_DIR]&lt;BR /&gt;&lt;BR /&gt;$ DIR OTHER_DEVICE:&lt;BR /&gt;%RMS-E-DIRNOUTFOUND directory OTHER_DEVICE:[MY_DIR] does not exist  &lt;BR /&gt; (well, something like that, I am not at a VMS system at the moment so this is from bio memory)&lt;BR /&gt;&lt;BR /&gt;The DIR command specified OTHER_DEVICE, so that was used in parsing.&lt;BR /&gt;it did NOT specify a directory, so THAT part of the filename was supplied from the DEFAULT setting.&lt;BR /&gt;(for completeness: the DIRECTORY command by its own default supplies a default filespec of *.*;*  )&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;eg&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2007 12:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111979#M13697</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-05T12:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111980#M13698</link>
      <description>Hey guys!&lt;BR /&gt;&lt;BR /&gt;Well here's the issue:&lt;BR /&gt;&lt;BR /&gt;MZR1L2::set def [-]&lt;BR /&gt;MZR1L2::dir&lt;BR /&gt;&lt;BR /&gt;Directory AEC:[000000]&lt;BR /&gt;&lt;BR /&gt;AEC_SERVICE.DIR;1&lt;BR /&gt;                     1   8-SEP-2006 14:45:55.07  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;LOG.DIR;1            1   8-SEP-2006 14:45:01.30  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;MCC.DIR;1            1   8-SEP-2006 14:45:01.00  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;MYDIR.DIR;1          1   5-OCT-2006 10:13:30.03  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;RELEASE.DIR;1        1   9-AUG-1995 09:53:00.82  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;SCRATCH.DIR;1       60   8-SEP-2006 14:45:01.21  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;SHR.DIR;1            1   8-SEP-2006 14:45:01.09  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;TOOL.DIR;1           1  26-AUG-1999 19:00:45.41  [AEC,SYS]     (RWE,RWE,RWE,R)&lt;BR /&gt;&lt;BR /&gt;Total of 8 files, 67 blocks.&lt;BR /&gt;MZR1L2::&lt;BR /&gt;MZR1L2::set def [.fake]&lt;BR /&gt;MZR1L2::dir&lt;BR /&gt;%DIRECT-E-OPENIN, error opening AEC:[000000.FAKE]*.*;* as input&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;MZR1L2::&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2007 13:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111980#M13698</guid>
      <dc:creator>Darijo</dc:creator>
      <dc:date>2007-12-05T13:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111981#M13699</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;re-read my answer.&lt;BR /&gt;&lt;BR /&gt;It contains a similar example, with the explanation.&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>Wed, 05 Dec 2007 14:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111981#M13699</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-05T14:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111982#M13700</link>
      <description>Im still confused but I think I got it...sort of :)&lt;BR /&gt;What is the advantage of this filesystem?&lt;BR /&gt;Im coming from UNIX so this is very new to me.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2007 14:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111982#M13700</guid>
      <dc:creator>Darijo</dc:creator>
      <dc:date>2007-12-05T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111983#M13701</link>
      <description>"Strictly speaking, VMS doesn't behave as if&lt;BR /&gt;the directory exists. It simply doesn't care&lt;BR /&gt;whether it exists until you try to do&lt;BR /&gt;something with it."&lt;BR /&gt;&lt;BR /&gt;So does the filesystem allocates some drive blocks and then immediately unallocates them or...???&lt;BR /&gt;Why such a behaviour anyway?&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2007 14:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111983#M13701</guid>
      <dc:creator>Darijo</dc:creator>
      <dc:date>2007-12-05T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111984#M13702</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;What is the advantage of this filesystem?&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I am not sure if this particular aspect has a definite advantage or disadvantage. But it _IS_ different.&lt;BR /&gt;The filesystem _IS_ however quite closely interwoven with the Logical Name (LNM) mechanisms.&lt;BR /&gt;And _THAT_ is a terrific advantage over anything _I_ have ever come across (others me have wider experience, but then that is also kept secret rather good).&lt;BR /&gt;&lt;BR /&gt;It might be that this implementation of default file syntax completion is desired by, or just facilitates, the LNM implementation.&lt;BR /&gt;&lt;BR /&gt;I would speculate that Hoff (one of the original VMS devellopers) or Hein, ( _THE_ RMS specialist) can provide much more exact and detailed info.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Im coming from UNIX so this is very new to me.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I think you will just have to accept that it _IS_ different, just as Microsoft filesystem, and Mac, and (...) are all different beasts.&lt;BR /&gt;&lt;BR /&gt;If it is any consolation: I have your problem the other way araound.  :-)&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, 05 Dec 2007 15:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111984#M13702</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-05T15:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111985#M13703</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;As has been said, SET DEFAULT only manipulates the default filename string in the process context. It does not access (or create) any file.&lt;BR /&gt;&lt;BR /&gt;The CREATE/DIRECTORY command actually creates the directory (and allocate a minimal size file allocation to the directory itself).&lt;BR /&gt;&lt;BR /&gt;From the follow up postings, there appears to be some confusion about the differences between the *IX cd command (which checks to see if the directory exists; rather than just manipulating the default string; this behavior is also apparent in Windows) and the OpenVMS SET DEFAULT, which does not actually do anything until a file access/create is attempted. &lt;BR /&gt;&lt;BR /&gt;As I noted, the command CREATE/DIRECTORY [] (which uses the [] syntax to refer to "the current default directory") is usable on OpenVMS; on the *IX model, it is not usable.&lt;BR /&gt;&lt;BR /&gt;The semantics are simply different. Honestly, while I have never had problems with the OpenVMS approach (the error occurs on the first attempt to access a file), I admit that switching back and forth is sometimes an annoyance.&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>Wed, 05 Dec 2007 15:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111985#M13703</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-12-05T15:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111986#M13704</link>
      <description>Darijo,&lt;BR /&gt;&lt;BR /&gt;"So does the filesystem allocates some drive blocks and then immediately unallocates them or...??? "&lt;BR /&gt;&lt;BR /&gt;  No. When you enter the "set default" command, you don't really touch the file system, not in the way you are thinking. Think of it as declaring a future intention. (Maybe, by the time you actually try to access the directory, somebody or thing will have created it! :) &lt;BR /&gt;&lt;BR /&gt;  Apparently, a few other people find the "set default" command a little limited. On the Freeware 8.0 site, there are 5 (!) replacements for it (and I've written one of my own). One of them, called "To", has an on-line manual that states that it tries to check for non-existent defaults. (Check the OpenVMS main page for a link to the freeware.)&lt;BR /&gt;&lt;BR /&gt;Jan's mention of logical names is well taken.  You can "set default" to a logical name and then redefine that logical name, which will change your default. So, even if "set default" were changed to check for the directory's existence, the "define" command could still surprise you.&lt;BR /&gt;&lt;BR /&gt;And as an aside, if you'll be spending much time with VMS, you definitely should learn about logical names. They are unique, very powerful, and a little dangerous if you don't know what you're doing. &lt;BR /&gt;&lt;BR /&gt;War story: long ago in a big IS department, a newbie VMS developer (no, it wasn't me, but it could have been) couldn't debug his executable because the project had been moved from DUA0: to DUA1:, and the debugger couldn't find the source files. He was told to define a logical name DUA0 that would be translated as DUA1. Of course, DUA0 was the system disk and, of course, developers had been given full privileges. (You can see this coming, right?) So he types in "define /group DUA0 DUA1:". It took less than 10 seconds before the heads started popping up above the partitions...&lt;BR /&gt;&lt;BR /&gt;Kelly</description>
      <pubDate>Wed, 05 Dec 2007 16:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111986#M13704</guid>
      <dc:creator>Kelly Stewart_1</dc:creator>
      <dc:date>2007-12-05T16:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111987#M13705</link>
      <description>OOPS!&lt;BR /&gt;&lt;BR /&gt;Sorry, I made an incorrect statement in my previous post.&lt;BR /&gt;&lt;BR /&gt;You can set default using a logical name, but redefining the logical name later does *NOT* change that default. The default remains set to the translation that the logical had at the time you set the default.&lt;BR /&gt;&lt;BR /&gt;Sorry for the mistake!&lt;BR /&gt;&lt;BR /&gt;Kelly</description>
      <pubDate>Wed, 05 Dec 2007 16:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111987#M13705</guid>
      <dc:creator>Kelly Stewart_1</dc:creator>
      <dc:date>2007-12-05T16:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111988#M13706</link>
      <description>Kelly wrote:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Sorry, I made an incorrect statement in my previous post.&lt;BR /&gt;&lt;BR /&gt;You can set default using a logical name, but redefining the logical name later does *NOT* change that default. The default remains set to the translation that the logical had at the time you set the default.&lt;BR /&gt;&lt;BR /&gt;Sorry for the mistake!&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Well, we ARE getting in the deep here!&lt;BR /&gt;&lt;BR /&gt;In the case described, one should be careful with the interpretation of "changed"&lt;BR /&gt;&lt;BR /&gt;No - the default is not changed&lt;BR /&gt;Yes - the output of the (implicit, under-the-hood) parsing DOES change.&lt;BR /&gt;&lt;BR /&gt;Whenever parsing takes place, the current-at-that-moment value of the logical name is evaluated to get to a file spec that references a particular file.&lt;BR /&gt;&lt;BR /&gt;And to make it even more confusing to people used to non-VMS file systems, the same Logical Name can have different valeus in different tables, in which case the first hit according to the LNM table search list applies.&lt;BR /&gt;&lt;BR /&gt;But, SHOW LOGICAL DOES supply them in that order. (but be aware that different people DO see different tables!)&lt;BR /&gt;&lt;BR /&gt;It really DOES pay to spend some time/get some instruction in getting used to it, but it IS fantastic.&lt;BR /&gt;&lt;BR /&gt;One example that usually baffles Unix people:&lt;BR /&gt;&lt;BR /&gt;the  access to an application specified to be in a directory with a certain logical name.&lt;BR /&gt;Now, have a number od DIFFERENT directories, containing same-mnemd files to initiate the app.&lt;BR /&gt;in one instance, the app run "normal"&lt;BR /&gt;in another instance, the new (still under test) version&lt;BR /&gt;in a 3rd instance, the normal startup file just displays a nice message that the app is currently unavailable.&lt;BR /&gt;&lt;BR /&gt;A suitable authorized System Manager ("Sysadmin" in Unix speak) can in a oneliner define the app (un-)available to general users, and (at the same time) direct a specified group to the new version. Effective immediately for all users!.&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;   &lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2007 17:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111988#M13706</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-05T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111989#M13707</link>
      <description>As others have said, SET DEFAULT doesn't "enter a directory". Rough translation into Unix speak, it really just sets an evironment variable, a bit like PATH. (is there anything in Unix to prevent PATH from being set to a non-existent directory?)&lt;BR /&gt;&lt;BR /&gt;The current default is a convenience, so you can give the system an incomplete file specification, and have parts of it filled in from the default.&lt;BR /&gt;&lt;BR /&gt;This can be a double edged sword, especially when writing command procedures. Do you make assumptions about the default, or do you always code a complete filespec?&lt;BR /&gt;&lt;BR /&gt;In debugging procedures, I often find hidden assumptions which depend on the current default, and sometimes cause procedures to break if executed with the default set to the "wrong" place. One trick to help eliminate this type of assumption is to test the procedure with default set like:&lt;BR /&gt;&lt;BR /&gt;$ SET DEFAULT BADDEVICE:[BADDIRECTORY] &lt;BR /&gt;&lt;BR /&gt;(so there's another advantage to being able to set default to a non-existent directory)&lt;BR /&gt;&lt;BR /&gt;The DCL DEFAULT directory concept is really rather troublesome. Pre V4, it was fairly well behaved with a strict demarkation between DEVICE and DIRECTORY. Since the invention of concealed devices and search lists the line has become very blurred, leading to numerous ways of getting surprises in behaviour from interactions with filespec defaulting. When you start adding node specifications things get even uglier (strictly speaking that's not supported, but that doesn't stop it from "working" some of the time).&lt;BR /&gt;&lt;BR /&gt;To understand SET DEFAULT you need to understand how RMS processes file names. See the RMS service $PARSE and the corresponding lexical function F$PARSE.</description>
      <pubDate>Wed, 05 Dec 2007 22:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111989#M13707</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-12-05T22:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111990#M13708</link>
      <description>Hey guys! &lt;BR /&gt;I have been on many forums but here....you are all really, really helpful. &lt;BR /&gt;I think that my employer will be satisfied with my VMS skills :)&lt;BR /&gt;Now Il take time to read what you guys wrote and test that tommorow.&lt;BR /&gt;Oh by the way. Three months ago one VMS node failed after 7.5 years of uptime. Well it wasnt VMS fault but SCSI controller that has failed. I heard couple of times that VMS set records in this field.  &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2007 22:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111990#M13708</guid>
      <dc:creator>Darijo</dc:creator>
      <dc:date>2007-12-05T22:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111991#M13709</link>
      <description>re Kelly,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Sorry, I made an incorrect statement in my &lt;BR /&gt;&amp;gt;previous post.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;You can set default using a logical name, &lt;BR /&gt;&amp;gt;but redefining the logical name later does &lt;BR /&gt;&amp;gt;*NOT* change that default. &lt;BR /&gt;&lt;BR /&gt;  Not so fast... you weren't entirely incorrect. It depends on which component of the default the logical name defines.&lt;BR /&gt;&lt;BR /&gt;  This is one place where default directory gets very confusing. Roughly speaking, the default has two components DEVICE and DIRECTORY. In simple terms anything to the left of a colon ":" is the device, anything to the right is the directory. &lt;BR /&gt;&lt;BR /&gt;  If the logical name is interpreted as a DEVICE, it is NOT translated. If it has both DEVICE and DIRECTORY components it IS translated. In the former case, changes in the logical name WILL be reflected in future uses of the default, in the latter they will not.&lt;BR /&gt;&lt;BR /&gt;  Consider:&lt;BR /&gt;&lt;BR /&gt;$ set def dra0:[jg]&lt;BR /&gt;$ create/dir []&lt;BR /&gt;$ create this_is_on_DRA0&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DRA0:[JG]&lt;BR /&gt;&lt;BR /&gt;THIS_IS_ON_DRA0.;1                                0   6-DEC-2007 09:14:38.39&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;&lt;BR /&gt;$ set def dra1:&lt;BR /&gt;$ create/dir []&lt;BR /&gt;$ create this_is_on_DRA1&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DRA1:[JG]&lt;BR /&gt;&lt;BR /&gt;THIS_IS_ON_DRA1.;1                                0   6-DEC-2007 09:14:54.04&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;$ define mydir dra1:[JG]&lt;BR /&gt;$ set def mydir&lt;BR /&gt;$ show def&lt;BR /&gt;  DRA1:[JG]   ! Logical name has been translated&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DRA1:[JG]&lt;BR /&gt;&lt;BR /&gt;THIS_IS_ON_DRA1.;1                                0   6-DEC-2007 09:14:54.04&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;$ define mydir dra0:[jg]&lt;BR /&gt;%DCL-I-SUPERSEDE, previous value of MYDIR has been superseded&lt;BR /&gt;$ show def&lt;BR /&gt;  DRA1:[JG]&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DRA1:[JG]&lt;BR /&gt;&lt;BR /&gt;THIS_IS_ON_DRA1.;1                                0   6-DEC-2007 09:14:54.04&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;&lt;BR /&gt;So the default does NOT reflect the change in the logical name.&lt;BR /&gt;&lt;BR /&gt;In contrast:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ define mydisk dra1:&lt;BR /&gt;$ define mydir mydisk:[jg]&lt;BR /&gt;%DCL-I-SUPERSEDE, previous value of MYDIR has been superseded&lt;BR /&gt;$ set def mydir&lt;BR /&gt;$ show def&lt;BR /&gt;  MYDISK:[JG] ! Note logical name in default&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DRA1:[JG]&lt;BR /&gt;&lt;BR /&gt;THIS_IS_ON_DRA1.;1                                0   6-DEC-2007 09:14:54.04&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;&lt;BR /&gt;$ define mydisk dra0:&lt;BR /&gt;%DCL-I-SUPERSEDE, previous value of MYDISK has been superseded&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DRA0:[JG]&lt;BR /&gt;&lt;BR /&gt;THIS_IS_ON_DRA0.;1                                0   6-DEC-2007 09:14:38.39&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0 blocks.&lt;BR /&gt;&lt;BR /&gt;In the second example, the change in MYDISK DOES affect the default.&lt;BR /&gt;&lt;BR /&gt;Things get more confusing when you start playing with concealed devices and search lists.</description>
      <pubDate>Wed, 05 Dec 2007 22:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111991#M13709</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-12-05T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111992#M13710</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Thanks for the clarification. I also didn't know that the use of a node name in the default was not supported (not that I use it that much...).&lt;BR /&gt;&lt;BR /&gt;Kelly</description>
      <pubDate>Thu, 06 Dec 2007 14:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111992#M13710</guid>
      <dc:creator>Kelly Stewart_1</dc:creator>
      <dc:date>2007-12-06T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: VMS filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111993#M13711</link>
      <description>Kelly,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;John,&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Thanks for the clarification. I also didn't &amp;gt;know that the use of a node name in the default &amp;gt;was not supported (not that I use it that &amp;gt;much...).&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;Kelly&lt;BR /&gt;&lt;BR /&gt;I do not see the comment in John's post that node names are not supported. Indeed, I have been using that trick for a LONG LONG time. &lt;BR /&gt;&lt;BR /&gt;Indeed, the syntax is straightforward:&lt;BR /&gt;&lt;BR /&gt;$ SET DEFAULT nodename"user password"::device:[directory...]&lt;BR /&gt;&lt;BR /&gt;Any of the parts are optional, and will default "appropriately". It comes in handy when a machine is overloaded, which is admittedly rare these days (I remember figuring this trick out back in my student days, when some of my files were on an instructional system and I had access to the instructional and staff systems; it was a way to work on files that were located on the other machine without having to deal with the other machine's overload).&lt;BR /&gt;&lt;BR /&gt;It does, of course, rely on the the fact that the program(s) being run correctly use RMS $PARSE to do their file access. Needless to say, some programs have "rolled their own" file parsing, and have problems with this.&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, 06 Dec 2007 15:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-filesystem/m-p/4111993#M13711</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-12-06T15:36:13Z</dc:date>
    </item>
  </channel>
</rss>

