Everhart, Glenn From: hoffman@xdelta.enet.dec.nospam Sent: Friday, August 21, 1998 11:54 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: EXE$GL_RPB In article <01bdccfb$af6177e0$0e1b67a1@eugraw1067.gra.eu.bp.com>, writes: :I have a VAX program that uses EXE$GL_RPB (Restart Parameter Block) in :obtaining the number of bad pages at boot time. I linked against :SYS$SYSTEM:SYS.STB and everything worked just fine. I moved the app to :Alpha, linked against SYS$BASE_IMAGE.EXE __and__ it did not resolve :EXE$GL_RPB. I have scoured the Documentation and I have looked and the :offerings on the Digital Web Site. Can anyone point me in the right :direction for either documentation or perhaps an answer? You will want the Alpha Internals and Data Structures Manual, and you will also want to acquire the OpenVMS source listings (listings! not sources!) CD-ROM set. (The information that you are seeking is not considered to be documented, and is subject to change without notice.) The literal answer to the question involves your search for the data structure now known as the hardware RPB, the HWRPB. (And take a look at the structure referenced by BOO$GA_HWRPB, and at the HWRPB$* symbols.) Alternatively, you could parallel what SHOW MEMORY uses: ; acquire the count of the bad pages found at boot and at run-time MOVL G^SCH$GL_FREECNT+<4*PFN$C_BADPAGLST>,R0 OpenVMS Alpha does not differentiate bad pages found at boot-time from bad pages found at run-time. -------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering hoffman@xdelta.ZZenet.dec.com note to those folks not contributing spam -- there is no ZZ in my address