Everhart, Glenn From: schenkenberg@eisner.decus.org Sent: Friday, August 21, 1998 12:50 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: EXE$GL_RPB In article <01bdccfb$af6177e0$0e1b67a1@eugraw1067.gra.eu.bp.com>, writes: > Can anyone help. > > 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? There is no single RPB on Alpha. There is a restart parameter block for both hardware (HWRPB) and software (SWRPB) contexts. AFAIK, there is no count of the bad pages maintained in either structure. Looks like you'll need to walk about in the PFN database to extract this information. Walk along from PFN$AL_HEAD[PFN$C_BADPAGLST] and count the entries. -- VAXman- VAXman@TMESIS.COM OpenVMS APE certification number: AAA-0001 ... and in the end, the money you take is equal to the money you make.