- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: using logical names: file spec.syntax error
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
тАО11-22-2006 02:06 AM
тАО11-22-2006 02:06 AM
Dear experts, please:
VMS6.2-1H3
how should I use logical names ?
Systartup_vms.com should call @dka0:[yyy.zzz]xxx.com p1 p2 p3 p4
where dka0: is the bootdevice
where the contents of p1 are supp. to be "dka0:"
where the contents of p2 are supp. to be "yyy.zzz"
where the contents of p3 are supp. to be "eth"
where the contents of p4 are supp. to be "tta0:"
so my (naive) line in systartup_vms.com reads
@dka0:[yyy.zzz]xxx.com dka0: yyy.zzz eth tta0:
How should I write that for the case to be able to boot from a disk with a different scsi number eg. dka200: ??
trying
@sys$sysdevice[yyy.zzz]xxx.com sys$sysdevice
yyy.zzz eth tta0:
produces a file specification syntax error.
show logical sys$sysdevice gives
"alpha$dka300:" (LNM$system_table)
Can anyone give me a hint ?
Thanks,
Chris.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:24 AM
тАО11-22-2006 02:24 AM
Re: using logical names: file spec.syntax error
Now that first param "dka0:" do you want that to be dka0 unconditionally or should it match the current boot device?
If so, use: 'F$TRNLNM("sys$sysdevice")
This will pass "alpha$dka300:"
Do you prefer the 'naked' device name _DKA300:?
Then use: 'f$getdvi("sys$sysdevice","devnam")
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:25 AM
тАО11-22-2006 02:25 AM
Re: using logical names: file spec.syntax error
I don;t know if you just made a typo in your original entry, but the line:
@sys$sysdevice[yyy.zzz]xxx.com sys$sysdevice
should be
@sys$sysdevice:[yyy.zzz]xxx.com sys$sysdevice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:39 AM
тАО11-22-2006 02:39 AM
Re: using logical names: file spec.syntax error
perfect !! that works,
buy You a beer !
Thanks,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:48 AM
тАО11-22-2006 02:48 AM
Re: using logical names: file spec.syntax error
Hein , Edgar,
thank YOU just the same,
no it was not a typo,
but my own misinterpretation,
since I get
show logical sys$sysdevice gives
"alpha$dka300:" (LNM$system_table)
^
I thought , the : was included already.
I didnt assume that :: was even better.
To Your health!
Chris.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:52 AM
тАО11-22-2006 02:52 AM
Re: using logical names: file spec.syntax error
Thank You all,
I learned something.
Regards
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 03:05 AM
тАО11-22-2006 03:05 AM
Re: using logical names: file spec.syntax error
>>>
I didnt assume that :: was even better.
<<<
Correct assumption!
In :: (as in: double colon ) the part before :: means a DecNet nodename!
The : in
>>>
show logical sys$sysdevice gives
"alpha$dka300:" (LNM$system_table)
<<<
Means that sys$sysdevice is defined such, that it will be accepted as a device specification in any file specification containing it.
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)
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 03:24 AM
тАО11-22-2006 03:24 AM
Re: using logical names: file spec.syntax error
You make it clear!
Sorry for not beeing able to honour Your answer with points, You deserve another 10.
Thanks,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 08:40 AM
тАО11-22-2006 08:40 AM
Re: using logical names: file spec.syntax error
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 http://www.openvms.org/stories.php?story=02/09/24/5441505
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 http://www.rlgsc.com/publications/vmstechjournal/inheritance.html
- Bob Gezelter, http://www.rlgsc.com