Copy the TIRYYX exit to one of your libraries.
Internally, CA Gen handles four-digit year dates correctly assuming the user application uses a YYYY edit pattern throughout. If the user interface is designed to accept a two-digit date entry, and defaulting to the current century is not acceptable, use this exit to implement logic to get the required behavior for defaulting the century part of the date. The exit is called to process either a DATE or TIMESTAMP field which utilizes a 2-digit year (YY) in the edit pattern associated with the field. An indicator is set in the exit control block to indicate if the value is a date or timestamp.
Modify the exit to use one of the provided algorithms or add your own as required by your applications.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|