- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Define logicals at login
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2005 07:58 PM
тАО08-18-2005 07:58 PM
Define logicals at login
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?
Thanx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2005 09:02 PM
тАО08-18-2005 09:02 PM
Re: Define logicals at login
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.
The system disk does not have to be dismounted for scanning on contents. (not any disk, by the way. It's VMS, remember :-))
The easy way to search them all is:
$ SEARCH SYS$SYSDEVICE:[000000...]*.COM DISKALL
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.
As for defining the logical:
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.
...
$!
$ ALLDISKS = ""
$LOOP:
$ DSK=f$device ("*","DISK",,XXX)
$ if DSK .eqs. "" then goto endloop
$ if f$getdvi(DSK,"exists") then -
ALDISKS = ALLDISK + ",''DSK'"
$ goto LOOP
$endloop:
$ DEFINE/SYSTEM DISKALL ALLDISKS
$!
(the logical sequence can well be included in a script that mounts all disks).
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2005 10:01 PM
тАО08-18-2005 10:01 PM
Re: Define logicals at login
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].
Carefully check the SYLOGIN and LOGIN files. It is possible that they in turn reference other installation-wide files, which may define the name.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2005 10:54 PM
тАО08-18-2005 10:54 PM
Re: Define logicals at login
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2005 12:35 AM
тАО08-19-2005 12:35 AM
Re: Define logicals at login
You should not confine your search to .com files, some of my startup files take action based on data files they open and read.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2005 08:34 PM
тАО08-21-2005 08:34 PM
Re: Define logicals at login
sorry for late.
Here there is my routine to load all disks of system. It works from V6.2 to V8.2 of VMS.
You can easily update for your own scope.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2005 08:47 PM
тАО08-21-2005 08:47 PM
Re: Define logicals at login
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).
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2005 11:13 PM
тАО08-21-2005 11:13 PM
Re: Define logicals at login
The other consideration is that it may be happening within Sysman?
As a alternative, I would suggest "stepping through the startup" Adding a few startup components on each pass, until it appears, and then backtrack.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 02:28 AM
тАО08-22-2005 02:28 AM
Re: Define logicals at login
HTH,
Bart Zorn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 03:05 AM
тАО08-22-2005 03:05 AM
Re: Define logicals at login
Robert