Problem Note 15716: Possible incorrect DATETIME/TIME values returned when leap seconds
defined
SAS® will incorrectly calculate time or datetime values when leap seconds
are defined on a z/OS system. This can cause for time to be off by a
factor of 2 the value set for leap seconds on the system. Therefore, if
leap seconds is 22 seconds then the SAS time portion returned by SAS can
be off by approximately 44 seconds. This does not effect SAS SMF record
processing. Also, time reflected by JES for a JOB or user are correct.
Only the SAS time value may be off.
There are a couple of ways to determine if you are affected.
- If you know you are not using ETR (External Time Reference)
- Run a simple SAS job and see:
// EXEC SAS
//SYSIN DD *
DATA _NULL_;
dt=datetime();
put dt= datetime22.3;
RUN;
If the time portion for DT in the SAS Log is outside the start and end
times for the JOB in the JES JOBLOG then you are seeing this behavior.
This is being corrected in a SAS 8.2 HOTFIX and will be included in SAS
9.1.3 SP4.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 | 9.1 TS1M3 SP4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2006-04-26 09:39:25 |
Date Created: | 2005-07-07 13:14:05 |