<?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: using logical names: file spec.syntax error in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015387#M35111</link>
    <description>&lt;BR /&gt;Thank You all, &lt;BR /&gt;&lt;BR /&gt;I learned something.&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Chris</description>
    <pubDate>Wed, 22 Nov 2006 10:52:24 GMT</pubDate>
    <dc:creator>Christian Burschka</dc:creator>
    <dc:date>2006-11-22T10:52:24Z</dc:date>
    <item>
      <title>using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015381#M35105</link>
      <description>&lt;BR /&gt;Dear experts,  please:&lt;BR /&gt;VMS6.2-1H3&lt;BR /&gt;how should I use logical names ?&lt;BR /&gt;&lt;BR /&gt;Systartup_vms.com should call @dka0:[yyy.zzz]xxx.com  p1 p2 p3 p4&lt;BR /&gt;where dka0: is the bootdevice&lt;BR /&gt;where the contents of p1 are supp. to be "dka0:"&lt;BR /&gt;where the contents of p2 are supp. to be "yyy.zzz"&lt;BR /&gt;where the contents of p3 are supp. to be "eth"&lt;BR /&gt;where the contents of p4 are supp. to be "tta0:"&lt;BR /&gt;&lt;BR /&gt;so my (naive) line in systartup_vms.com reads&lt;BR /&gt;@dka0:[yyy.zzz]xxx.com  dka0: yyy.zzz eth tta0:&lt;BR /&gt;&lt;BR /&gt;How should I write that for the case to be able to boot from a disk with a different scsi number eg.  dka200:   ??&lt;BR /&gt;&lt;BR /&gt;trying &lt;BR /&gt;@sys$sysdevice[yyy.zzz]xxx.com sys$sysdevice   &lt;BR /&gt; yyy.zzz eth tta0:&lt;BR /&gt;&lt;BR /&gt;produces a file specification syntax error.&lt;BR /&gt;&lt;BR /&gt;show logical sys$sysdevice gives&lt;BR /&gt;"alpha$dka300:"  (LNM$system_table) &lt;BR /&gt;&lt;BR /&gt;Can anyone give me a hint ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Chris.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015381#M35105</guid>
      <dc:creator>Christian Burschka</dc:creator>
      <dc:date>2006-11-22T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015382#M35106</link>
      <description>This just _might_ depend on what&lt;BR /&gt;dka0:[yyy.zzz]xxx.com actually does with its&lt;BR /&gt;parameters, but have you tried specifying&lt;BR /&gt;"sys$sysdevice:" instead of "sys$sysdevice"?</description>
      <pubDate>Wed, 22 Nov 2006 10:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015382#M35106</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-11-22T10:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015383#M35107</link>
      <description>Sure looks like you simply forgot the ":" between sys$sysdevice and [yyy.zzz]&lt;BR /&gt;&lt;BR /&gt;Now that first param "dka0:" do you want that to be dka0 unconditionally or should it match the current boot device?&lt;BR /&gt;&lt;BR /&gt;If so, use: 'F$TRNLNM("sys$sysdevice")&lt;BR /&gt;This will pass "alpha$dka300:"&lt;BR /&gt;Do you prefer the 'naked' device name _DKA300:?&lt;BR /&gt;Then use: 'f$getdvi("sys$sysdevice","devnam")&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015383#M35107</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-11-22T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015384#M35108</link>
      <description>&lt;BR /&gt;I don;t know if you just made a typo in your original entry, but the line:&lt;BR /&gt;&lt;BR /&gt;@sys$sysdevice[yyy.zzz]xxx.com sys$sysdevice &lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;@sys$sysdevice:[yyy.zzz]xxx.com sys$sysdevice &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015384#M35108</guid>
      <dc:creator>EdgarZamora</dc:creator>
      <dc:date>2006-11-22T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015385#M35109</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;perfect !! that works,&lt;BR /&gt;&lt;BR /&gt;buy You a beer !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015385#M35109</guid>
      <dc:creator>Christian Burschka</dc:creator>
      <dc:date>2006-11-22T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015386#M35110</link>
      <description>&lt;BR /&gt;Hein , Edgar,&lt;BR /&gt;&lt;BR /&gt;thank YOU just the same,&lt;BR /&gt;&lt;BR /&gt;no it was not a typo,&lt;BR /&gt;but my own misinterpretation,&lt;BR /&gt;&lt;BR /&gt;since I get &lt;BR /&gt;&lt;BR /&gt;show logical sys$sysdevice gives&lt;BR /&gt;"alpha$dka300:" (LNM$system_table) &lt;BR /&gt;             ^&lt;BR /&gt;I thought , the : was included already.&lt;BR /&gt;I didnt assume that  :: was even better.&lt;BR /&gt;&lt;BR /&gt;To Your health!&lt;BR /&gt;&lt;BR /&gt;Chris.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 10:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015386#M35110</guid>
      <dc:creator>Christian Burschka</dc:creator>
      <dc:date>2006-11-22T10:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015387#M35111</link>
      <description>&lt;BR /&gt;Thank You all, &lt;BR /&gt;&lt;BR /&gt;I learned something.&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 22 Nov 2006 10:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015387#M35111</guid>
      <dc:creator>Christian Burschka</dc:creator>
      <dc:date>2006-11-22T10:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015388#M35112</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;I didnt assume that :: was even better.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Correct assumption!&lt;BR /&gt;&lt;BR /&gt;In  ::  (as in: double colon ) the part before :: means a DecNet nodename!&lt;BR /&gt;&lt;BR /&gt;The : in&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;show logical sys$sysdevice gives&lt;BR /&gt;"alpha$dka300:" (LNM$system_table)&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Means that sys$sysdevice is defined such, that it will be accepted as a device specification in any file specification containing it.&lt;BR /&gt;But, syntax specifying a dicice must contain a colon, so you have to use it again. (It is also possible to specify a decice + directory as a "concealed device, and in that definition you need a trailing period. A prime example would be, eg, SYS$COMMON)&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, 22 Nov 2006 11:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015388#M35112</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-11-22T11:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015389#M35113</link>
      <description>Jan,&lt;BR /&gt;&lt;BR /&gt;You make it clear!&lt;BR /&gt;&lt;BR /&gt;Sorry for not beeing able to honour Your answer with points, You deserve another 10.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 22 Nov 2006 11:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015389#M35113</guid>
      <dc:creator>Christian Burschka</dc:creator>
      <dc:date>2006-11-22T11:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015390#M35114</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Re: the use of logical names, you may want to take a look at the introductory series of articles that I authored on OpenVMS.org. The URL is &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;For a more complex example of how they can be used, see the paper that I published in the OpenVMS Technical Journal, Volume 3: "Inheritance Based Environments for OpenVMS Systems and OpenVMS Clusters". The article is available on the OpenVMS www site, and on my www server at &lt;A href="http://www.rlgsc.com/publications/vmstechjournal/inheritance.html" target="_blank"&gt;http://www.rlgsc.com/publications/vmstechjournal/inheritance.html&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>Wed, 22 Nov 2006 16:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015390#M35114</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-11-22T16:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: using logical names: file spec.syntax error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015391#M35115</link>
      <description>&amp;gt; I thought , the : was included already.&lt;BR /&gt;&lt;BR /&gt;Looking at it another way, "sys$sysdevice"&lt;BR /&gt;may be translated to "alpha$dka300:", which&lt;BR /&gt;includes a colon, but in the _original_ file&lt;BR /&gt;specification, "sys$sysdevice" itself needs&lt;BR /&gt;a colon to form a proper file spec.  You&lt;BR /&gt;always need to follow the&lt;BR /&gt;"device:[dir]name.type;version" pattern (with&lt;BR /&gt;all the required punctuation), even when the&lt;BR /&gt;first element is a logical name instead of&lt;BR /&gt;an actual device.</description>
      <pubDate>Thu, 23 Nov 2006 01:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-logical-names-file-spec-syntax-error/m-p/5015391#M35115</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-11-23T01:05:44Z</dc:date>
    </item>
  </channel>
</rss>

