- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: System permanent logical names
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
тАО12-03-2008 01:01 AM
тАО12-03-2008 01:01 AM
System permanent logical names
I want to define logical names which would work for all users and will remain over reboots. Pls let me know how to achieve the same.I tried the following command:
DEFINE/TABLE=LNM$SYSTEM_TABLE/EXECUTIVE_MODE /system DISK$APP AP$DKB100:
It worked for my next login,but didn't work for other users.They get an err showing:
%DCL-E-OPENIN, error opening DISK$APP:[RS1R4]RS1LOG.COM; as input
-RMS-F-DEV, error in device name or inappropriate device type for operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 01:50 AM
тАО12-03-2008 01:50 AM
Re: System permanent logical names
The /tab= is not needed.
You have to add the command to SYLOGICALS.COM if you want it to survive boot.
Do other users see the disk ap$dkb100 (with show dev) ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 01:59 AM
тАО12-03-2008 01:59 AM
Re: System permanent logical names
A logical name is in use the moment you define it ( no need for a logout/login ).
You have defined the name in LNM$SYSTEM_TABLE, but if the logical is already defined in a table closer to your process ( LNM$PROCESS, LNM$JOB, LNM$GROUP ), then it will overridden by the definition in theese tables.
Do a SHOW LOGICAL/FULL DISK$APP and check for a definition in a "lower" table.
Don't forget to add the logical to your startup-scripts ( SYS$STARTUP:SYLOGICALS.COM )
regards,
Hakan Zanderau
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:05 AM
тАО12-03-2008 02:05 AM
Re: System permanent logical names
logicals like DISK$label are created by the MOUNT command from the volume-label of the disk .
They will replace Your own DISK$APP logical if a disk with the label APP is mounted.
In general, don't use logicals starting with DISK$ for something else.
And in Your case, if the label of the disk in question is APP, then there is no need for an extra logical, and there would be only a single point in startup where the logical is defined:
if the disk moves to another unit or server, only the mount command needs to be changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:20 AM
тАО12-03-2008 02:20 AM
Re: System permanent logical names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:41 AM
тАО12-03-2008 02:41 AM
Re: System permanent logical names
show log disk$app* /fu
and post it.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:42 AM
тАО12-03-2008 02:42 AM
Re: System permanent logical names
In the construct
>>>
DISK$APP AP$DKB100:
<<<
the DISK$APP part is treated as a device name. To be able to use it as such, you need to add /TRANSLATION=CONCEALED to the DEFINE statement.
And DO look at the answers by Wim, Hakan, and Joseph: they are all part of the full answer.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 02:59 AM
тАО12-03-2008 02:59 AM
Re: System permanent logical names
but it's showing error
%EDT-F-OPENOUT, error opening DISK$USER:[PRT]SYLOGICALS.JOU; as output
-RMS-F-DEV, error in device name or inappropriate device type for operation
can you help,please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 03:04 AM
тАО12-03-2008 03:04 AM
Re: System permanent logical names
I tried $ sh log disk$* /fu and didn't get the logical for disk$app
I have the above mentioned problem in adding the logical to sylogical.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 03:08 AM
тАО12-03-2008 03:08 AM
Re: System permanent logical names
Have you tried both ASSIGN and DEFINE when you defined the logical ???
( the format is not the same for each command )
Do a
$ SHOW LOGICALS DISK$APP* /FULL
and
$ SHOW LOGICAL AP$DKB100* /FULL
And please post the results
/Hakan