REYNOLDS@xrt.upenn.EDU.UUCP (04/17/87)
Speaking of SID ... does anyone have a routine to read the SID (System Identification register) and return its value to a FORTRAN program? Or any hints on how to go about doing this? Replies to: REYNOLDS@XRT.upenn.edu Thanks much.
Rar@CIS.UPENN.EDU (Anthony Reynolds) (04/17/87)
Does anyone have, or know of, a routine to read the SID (System Identification) register and return the value to a FORTRAN program? Any hints on how to do this would be appreciated. Thanks much, rar@cis.upenn.edu (Anthony Reynolds).
"James_A._Gray.OsbuSouth"@XEROX.COM (04/19/87)
Just in case noone else has answered you by now ... You can get the value of the SID register by calling: From FORTRAN: status = LIB$GETSYI (SYI$_SID, value) status is I*4 return status (or condition value) value is I*4 SID contents From DCL: value = F$GETSYI ("SID") I believe that current distributions of FORTRAN include the library module $SYIDEF but just in case they don't, the value of SYI$_SID is 4097 (decimal). Jim
RAJAH@UREGINA1.BITNET ("A. Mahendra RAJAH") (04/21/87)
The system service SYS$GETSYI would return the system I.D. register value and a whole lots more....
tedcrane@batcomputer.tn.cornell.edu (Ted Crane) (04/22/87)
In article <8704210709.AA12730@ucbvax.Berkeley.EDU> RAJAH@UREGINA1.BITNET ("A. Mahendra RAJAH") writes: > > The system service SYS$GETSYI would return the system I.D. register value > and a whole lots more.... I think A.M.R.'s article was related to my earlier question and summary regarding "Identifying your VAX by any means possible." Since he's not the first to recently claim that the SID register is usable to identify a VAX... The documentation of SYS$GETSYI tells you to look at the Hardware Handbook for info on what is actually returned. That tome says: System type SID contains 730 CPU type (i.e., 730), ucode and hardware rev level 750 CPU type, ucode and hardware rev level 780 CPU type, eco level, manufacturing plant, serial number (but I believe later model 780's didn't make proper use of the serial number field) That's all thats in my copy. I know from experience that uVAX II SAME value in all machines I hear that the 8000's also have Rev level informatin in the SID register, and that the 2000's may have a "real" serial number in theirs. So, from a practical point of view, you CAN'T use the SID register to uniquely identify a VAX. Anyone have more pertinent info on the 8000's? -- - ted crane, alias (tc) tedcrane@tcgould.tn.cornell.edu BITNET: tedcrane@CRNLTHRY tedcrane@squid.tn.cornell.edu DECnet: GOPHER::THC