VMS Help  —  System Services, $CLEAR SYSTEM EVENT (Alpha and Integrity servers)
    Removes one or more notification requests previously established
    by a call to $SET_SYSTEM_EVENT.

    This service does not allow you to specify a handle and an
    event. You must pass a zero as one of these parameters. You can
    either clear by handle or request that all events for the user be
    cleared.

    Format

      SYS$CLEAR_SYSTEM_EVENT  [handle] ,[acmode] ,event

    C Prototype

      int sys$clear_system_event  (struct _generic_64 * handle,

                                  unsigned int acmode, unsigned int

                                  event);

1  –  Arguments

 handle

    OpenVMS usage:identifier
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference
    Identification of the AST request to be cleared. The handle
    argument uniquely identifies the request and is returned when
    the $SET_SYSTEM_EVENT service is called. The handle argument may
    be omitted by specifying a zero address.

 acmode

    OpenVMS usage:access_mode
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value
    Access mode of the system event to be cleared. The acmode
    argument is a longword containing the access mode. The value of
    the access mode is maximized with the access mode of the caller.

 event

    OpenVMS usage:event_code
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value
    The event argument is a value indicating the type of system event
    to be cleared. SYSEVT$C_ALL_EVENTS may be specified to clear all
    event types.
Close Help