TIMF gate, CONVERT_TIME function

This function converts a time value in any of a number of formats into the CICS ABSTIME format.

Input Parameters

DATE_STRING
A human-readable text string containing a date and time value in one of the following formats:
  • RFC3339
  • RFC1123
  • RFC1036
  • asctime()
TODCLOCK
The time of day expressed in the format of the z/Series Time-of-Day clock.
UTCTIME
The time expressed in the UTCtime format that is used in X.509 certificates.

Output Parameters

REASON
The following values are returned when RESPONSE is DISASTER:
  • ABEND
  • LOOP
  • SEVERE_ERROR
The following values are returned when RESPONSE is EXCEPTION:
  • DAYNUM_INVALID
  • GMT_INCORRECT
  • INVALID_ABSTIME
  • MONTH_INVALID
  • TIME_INVALID
  • UNSUPPORTED_FORMAT
  • WEEKDAY_INVALID
  • YEAR_INVALID
The following values are returned when RESPONSE is INVALID:
  • INVALID_FORMAT
  • INVALID_FUNCTION
The following values are returned when RESPONSE is INVALID:
  • NO_INPUT_TIME
ABSTIME
The time specified in ABSTIME format consisting of an eight-byte packed decimal number containing the number of milliseconds since midnight on 1 January 1900. The parameter can be specified in the range -9435484800000 to +255611289599999, corresponding to years from 1601 to 9999 respectively.
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


dfhs3_TIMFconvert_time.html | Timestamp icon Last updated: Monday, 5 June 2017