Problem Note 70251: PROC COMPARE does not reflect dynamic time zone changes in its Data Set Summary report
The COMPARE Procedure Data Set Summary report does not correctly show the created and last modified times if you use the TIMEZONE option within the SAS session to change the time zone. You encounter this issue if you complete steps similar to the following:
1. Create a data set and run the CONTENTS procedure to display it:
data class;
set sashelp.class;
run;
proc contents data=class; run;
2. Dynamically change the running SAS session time zone with an OPTIONS TIMEZONE statement (options timezone='Australia/ACT';) and rerun PROC CONTENTS. Note the change of creation and modification times of the same data set:
3. Execute PROC COMPARE on the data set that you created. Note that the modified time does not reflect the date time zone:
proc compare data=sashelp.class compare=class; run;
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for x64 | 3.5 | | Viya 3.5 | |
Linux for x64 | 3.5 | | Viya 3.5 | |
Microsoft Windows 11 | 9.4_M8 | | 9.4 TS1M8 | |
*
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: | 2023-07-12 16:08:02 |
Date Created: | 2023-07-11 03:11:49 |