At 07:12 PM 8/17/2001 -0500, Carl Perkins wrote:

>How to find out if you can access the data other than trying and checking
>the status? 
>
> From SYS$SMHANDLER_STARTUP.COM:
>$ ! 1) If called by the startup process, this command procedure starts the
>$ ! server management driver and recursive entry to this procedure from a
>$ ! detached process.  This done only on platforms which implement the
>$ ! environmental event machine check handler.  Platform indicate support for
>$ ! environmental event machine check handler by setting bit 5 in
>$ ! EXE$GL_CRD_CONTROL at bootstrap in platform specific code in
>$ ! SYS$CPU_ROUTINES_xxyy.EXE.  This method avoids further maintenance of this
>$ ! procedure for new platforms.
>
>So you can get this info by checking bit 5 of EXE$GL_CRD_CONTROL. You can
>do this from DCL via somthing along the lines of:
>
>$ If ((F$GETSYI("CRD_CONTROL") .AND. %X20) .NE. 0) Then $ does_vectors := true


Thanks, Carl, that's exactly the sort of stuff I was looking for.  I'll see 
if I can work up a patch to VMS::System that uses this to figure out whether 
we can request the environmental stuff from $getsyi.

Reply via email to