- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: System Serial Number
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
Forums
Discussions
Discussions
Forums
Discussions
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
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-27-2007 09:49 AM
11-27-2007 09:49 AM
System Serial Number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2007 10:09 AM
11-27-2007 10:09 AM
Re: System Serial Number
show me what it says on the label!"
This assumes that you have a competent
assistant, but you could also do it yourself.
Some systems can do things from the console,
but the label is authoritative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2007 10:17 AM
11-27-2007 10:17 AM
Re: System Serial Number
$SERIAL_NUMBER: subroutine
$ set noon
$ synum = f$getsyi("SERIAL_NUMBER")
$ serial_number = synum
$ if version.lts."V7.3-1"
$then
$ if f$type(synum).nes.""
$ then
$ if synum.nes.""
$ then
$ byte = 1
$ serial_number = " "
$Byte_Loop:
$ nxt_byte = f$extract(2*(byte-1),2,synum)
$ byte = 1+byte
$ if nxt_byte.eqs."00" then $ goto Byte_Loop
$ if nxt_byte.nes.""
$ then ! non-null byte
$ nxt_byte_char[0,8] = %X'nxt_byte'
$ serial_number = nxt_byte_char+serial_number
$! show symbol serial_number
$ goto Byte_Loop
$ endif ! non-null byte
$ endif ! synum not null
$ endif ! synum exists
$endif ! version number
$
$ serial_number == f$edit(serial_number,"TRIM")
$EXIT:
$ exit
$endsubroutine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2007 10:21 AM
11-27-2007 10:21 AM
Re: System Serial Number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2007 10:26 AM
11-27-2007 10:26 AM