Library /sys$common/syshlp/helplib.hlb  —  System Services, $SCHDWK
    Schedules the awakening (restarting) of a process that has placed
    itself in a state of hibernation with the Hibernate ($HIBER)
    service.

    Format

      SYS$SCHDWK  [pidadr] ,[prcnam] ,daytim ,[reptim]

    C Prototype

      int sys$schdwk  (unsigned int *pidadr, void *prcnam, struct

                      _generic_64 *daytim, struct _generic_64

                      *reptim);

1  –  Arguments

 pidadr

    OpenVMS usage:process_id
    type:         longword (unsigned)
    access:       modify
    mechanism:    by reference
    Process identification (PID) of the process to be awakened. The
    pidadr argument is the address of a longword containing the PID.
    The pidadr argument can refer to a process running on the local
    node or a process running on another node in the OpenVMS Cluster
    system.

    You must specify the pidadr argument to awaken processes in other
    UIC groups.

 prcnam

    OpenVMS usage:process_name
    type:         character-coded text string
    access:       read only
    mechanism:    by descriptor-fixed-length string descriptor
    Name of the process to be awakened. The prcnam is the address
    of a character string descriptor pointing to the process name. A
    process running on the local node can be identified with a string
    of from 1 to 15 characters.

    To identify a process on a particular node on a cluster, specify
    the full process name, which includes the node name as well as
    the process name. The full process name can contain up to 23
    characters.

    You can use the prcnam argument to awaken only processes in the
    same UIC group as the calling process because process names are
    unique to UIC groups, and the operating system uses the UIC
    group number of the calling process to interpret the process
    name specified by the prcnam argument. You must use the pidadr
    argument to awaken processes in other UIC groups.

 daytim

    OpenVMS usage:date_time
    type:         quadword
    access:       read only
    mechanism:    by reference
    Time at which the process is to be awakened. The daytim argument
    is the address of a quadword containing this time in the system
    64-bit time format. A positive time value specifies an absolute
    time at which the specified process is to be awakened. A negative
    time value specifies an offset (delta time) from the current
    time.

 reptim

    OpenVMS usage:date_time
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference
    Time interval at which the wakeup request is to be repeated.
    The reptim argument is the address of a quadword containing this
    time interval. The time interval must be expressed in delta time
    format.

    The time interval specified cannot be less than 10 milliseconds;
    if it is, $SCHDWK automatically increases it to 10 milliseconds.

    If you do not specify reptim, a default value of 0 is used, which
    specifies that the wakeup request is not to be repeated.
Close Help