z/OS MVS IPCS Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


TOD Clock Service

z/OS MVS IPCS Customization
SA23-1383-00

The time-of-day (TOD) clock service provides a caller, including your exit routine, with a TOD clock image. In the clock image, bit 0 is set on to allow the service to handle values from May 11,1971, at 11:56:53.685248 to January 25, 2114, at 11:50:41.055743. The system truncates partial microseconds and does no rounding.

Two services are provided, as described by the table below. The output from the service is dependent on whether the input to the service is an STCK or STCKE value.

STCK (8-bytes) STCKE (16-bytes) Description
BLSUXTOD service BLSUETOD service These services are made available in MIGLIB for invocation through LINK or a similar invocation mechanism. The services each take two parameters:
  1. Input — a binary TOD or STCKE value
  2. Output — a 26-character buffer

The services update the output parameter, returning a 26-character time stamp. Return code 0 is returned for successful completion of the request; otherwise return code 12 is returned.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014