<?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: Define logicals at login in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607357#M29317</link>
    <description>To set something straight: a system wide login command file is only used by LOGINOUT when the logical name SYS$SYLOGIN is defined in EXEC mode. It does not matter then where the file is or what its name is. SYS$MANAGER:SYLOGIN.COM is ONLY used when the logical name is defined. Otherwise it is ignored.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Bart Zorn&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Aug 2005 09:28:24 GMT</pubDate>
    <dc:creator>Bart Zorn_1</dc:creator>
    <dc:date>2005-08-22T09:28:24Z</dc:date>
    <item>
      <title>Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607349#M29309</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;On OpenVMS 7.1.2 (stop laughing, please), i've got a logical (DISKALL) which is to contain the list of all disks on the system. The problem is : Due to some evolution, some disks have been added, and, of course, they are not taken into account in the logical. I've tried to find the location of the definition of the logical (I've even dismounted every disks but the system one, and search on every file of the disk....), but with no success. So, where can it be? Will I have to flash some EPROM or what?&lt;BR /&gt;&lt;BR /&gt;Thanx.</description>
      <pubDate>Fri, 19 Aug 2005 02:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607349#M29309</guid>
      <dc:creator>ROMMENS</dc:creator>
      <dc:date>2005-08-19T02:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607350#M29310</link>
      <description>SYSTEM logicals are typically set on system startup. You may take a look to SYLOGICALS.COM and SYSTARTUP_VMS.COM, but do not forget to examine procedures called by these.&lt;BR /&gt;PROCESSS and JOB logicals are set during login. So then take a look in SYLOGIN.COM, and in any user's LOGIN.COM. Again, examine each procedure called.&lt;BR /&gt;&lt;BR /&gt;The system disk does not have to be dismounted for scanning on contents. (not any disk, by the way. It's VMS, remember :-))&lt;BR /&gt;The easy way to search them all is:&lt;BR /&gt;&lt;BR /&gt;$ SEARCH SYS$SYSDEVICE:[000000...]*.COM DISKALL&lt;BR /&gt;&lt;BR /&gt;beware it may cause delay, depending how heavy the disk is being used, and it may take some time. Best do this, with /OUTPUT qualifier, in a batch process to run in off-office hours.&lt;BR /&gt;&lt;BR /&gt;As for defining the logical:&lt;BR /&gt;One way to create this logical is to scan the devices, so you won't forget any newly added ones, not include those that were removed.&lt;BR /&gt;...&lt;BR /&gt;$!&lt;BR /&gt;$ ALLDISKS = ""&lt;BR /&gt;$LOOP:&lt;BR /&gt;$ DSK=f$device ("*","DISK",,XXX)&lt;BR /&gt;$ if DSK .eqs. "" then goto endloop&lt;BR /&gt;$ if f$getdvi(DSK,"exists") then -&lt;BR /&gt;   ALDISKS = ALLDISK + ",''DSK'"&lt;BR /&gt;$ goto LOOP&lt;BR /&gt;$endloop:&lt;BR /&gt;$ DEFINE/SYSTEM DISKALL ALLDISKS&lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;(the logical sequence can well be included in a script that mounts all disks).</description>
      <pubDate>Fri, 19 Aug 2005 04:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607350#M29310</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-19T04:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607351#M29311</link>
      <description>ROMMENS,&lt;BR /&gt;&lt;BR /&gt;I agree with Willem, and amplify his comments with regards to SYLOGIN.COM, which is generally found in SYS$MANAGER (by default actually in SYS$COMMON:[SYSMGR]; but I have seen configurations with different SYLOGIN files for some members of clusters, located in SYS$SPECIFIC:[SYSMGR].&lt;BR /&gt;&lt;BR /&gt;Carefully check the SYLOGIN and LOGIN files. It is possible that they in turn reference other installation-wide files, which may define the name.&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>Fri, 19 Aug 2005 05:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607351#M29311</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-08-19T05:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607352#M29312</link>
      <description>And when you find it and add some more disks, you run into the problem that the value a logical can hold is too small for all disks. I have ...&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 19 Aug 2005 05:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607352#M29312</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-08-19T05:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607353#M29313</link>
      <description>Deassign the logical and see if it reappears when you login.  If it doesn't then you've ruled out the definition happening at login and need to go looking in system startup.  Whether it is in the system table or process table is also a big clue.&lt;BR /&gt;&lt;BR /&gt;You should not confine your search to .com files, some of my startup files take action based on data files they open and read.&lt;BR /&gt;&lt;BR /&gt;When I'm desparate, I set sysgen parameter STARTUP_P2 to "CDV" and reboot, which makes startup create a sys$system:startup.log file that contains the output of startup with verify turned on.</description>
      <pubDate>Fri, 19 Aug 2005 07:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607353#M29313</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2005-08-19T07:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607354#M29314</link>
      <description>Rommens,&lt;BR /&gt;sorry for late.&lt;BR /&gt;Here there is my routine to load all disks of system. It works from V6.2 to V8.2 of VMS.&lt;BR /&gt;You can easily update for your own scope.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 03:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607354#M29314</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-22T03:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607355#M29315</link>
      <description>Bob, you're right, could be elsewehere.....&lt;BR /&gt;Rommens: a hint: login and see what is returned on $ SHO LOG SYLOGIN. That will be the location to look for (if undefined, it's SYS$MANAGER:SYLOGIN.COM).&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 03:47:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607355#M29315</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-22T03:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607356#M29316</link>
      <description>The other possibility to consider is that it may not be being done within a command procedure - it is possible to define logicals programmatically within a HLL (Higher level language) - it used to be popular to rewrite login.com's as login.exe's (actually compiled login.mar or login.c or login.cob (just joking) )&lt;BR /&gt;&lt;BR /&gt;The other consideration is that it may be happening within Sysman?&lt;BR /&gt;&lt;BR /&gt;As a alternative, I would suggest "stepping through the startup" Adding a few startup components on each pass, until it appears, and then backtrack. &lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 22 Aug 2005 06:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607356#M29316</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-08-22T06:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607357#M29317</link>
      <description>To set something straight: a system wide login command file is only used by LOGINOUT when the logical name SYS$SYLOGIN is defined in EXEC mode. It does not matter then where the file is or what its name is. SYS$MANAGER:SYLOGIN.COM is ONLY used when the logical name is defined. Otherwise it is ignored.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Bart Zorn&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607357#M29317</guid>
      <dc:creator>Bart Zorn_1</dc:creator>
      <dc:date>2005-08-22T09:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Define logicals at login</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607358#M29318</link>
      <description>Here's another procedure for defining a search list of all available disk drives.  This one uses the SLMOD(search list manipulation utility) which is available from various distribution sites.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 22 Aug 2005 10:05:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/define-logicals-at-login/m-p/3607358#M29318</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-08-22T10:05:13Z</dc:date>
    </item>
  </channel>
</rss>

