The set_timer_event callable service sets a DIE-mode timer event that posts an ECB when it expires. The ECB is located in the BPXYTHLI data area.
Operation | Environment |
---|---|
Authorization: | Problem program or supervisor state, PSW key when the process was created (not PSW key 0) |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN = HASN |
AMODE (BPX1STE): | 31-bit |
AMODE (BPX4STE): | 64-bit |
ASC mode: | Primary mode |
Interrupt status: | Enabled for interrupts |
Locks: | Unlocked |
Control parameters: | All parameters must be addressable by the caller and in the primary address space. |
|
AMODE 64 callers use BPX4STE with the same parameters.
The name of a fullword in which the service returns 0 if a CW_CONDVAR event occurred, or -1 if it has not.
The name of a fullword in which the set_timer_event service stores the return code. The set_timer_event service returns Return_code only if Return_value is -1. For a complete list of possible return code values, see z/OS UNIX System Services Messages and Codes. The set_timer_event service can return one of the following values in the Return_code parameter:
Return_Code | Explanation |
---|---|
EINVAL | One or more of the parameters that were passed to the service are in error. The following reason codes unique to the set_timer_event can accompany the return code: JRNanoSecondsTooBig, JRBadPET, JrReleasedPET. |
The name of a fullword in which the set_timer_event service stores the reason code. The set_timer_event service returns Reason_code only if Return_value is -1. Reason_code further qualifies the Return_code value. See z/OS UNIX System Services Messages and Codes for the reason codes.
None.
For an example using this callable service, see BPX1STE (set_timer_event) example.