From: SMTP%"christina.kaiser@fast.co.at" 25-OCT-1994 19:20:38.67 To: EVERHART CC: Subj: SystemID on VAX From: Christina Kaiser X-Newsgroups: comp.os.vms Subject: SystemID on VAX Message-ID: <199410241404.AA09766@fast.co.at> Date: Mon, 24 Oct 94 15:04:30 MET Organization: Info-Vax<==>Comp.Os.Vms Gateway X-Gateway-Source-Info: Mailing List Lines: 43 To: Info-VAX@Mvb.Saic.Com Hi! I have problems finding a unique System-ID, CPU-Number or something similiar on a VAX. I have a program using "sys$getsyiw" for determining Systemname, Nodename, Version, etc. When I tried to add some code-lines for getting the System-ID-number too, I found in the Includefile multiple Variables which seem to contain this. They are: #define SYI$_NODE_SYSTEMID 4307 /* systemid of " " #define SYI$_NODE_NUMBER 8220 /* System ID node number #define SYI$_SID 4097 /* System ID register #define SYI$_OLDCPU 512 /* CPU TYPE The results on my machine were: version=V5.4 machine=VAXstation 3100-M76/GP idn1-int=2146630444 ( SYI$_NODE_SYSTEMID ) idn1-hex=0x7ff2fb2c idn2-int=2146630464 ( SYI$_NODE_NUMBER ) idn2-hex=0x7ff2fb40 idn3-int=2146630484 ( SYI$_SID ) idn3-hex=0x7ff2fb54 idn4-int=2146630504 ( SYI$_OLDCPU ) idn4-hex=0x7ff2fb68 Does anybody know -what's exactly the difference -which is the one I should take when I need a unique and not modifyable SystemID -and if this matches none of my list, is there another way of getting the ID (or finding the right definition of it anywhere)? Thanks a lot to anybody who will think about it. Greetings Christina Kaiser