Problem Note 68307: You see the note "Invalid argument to function DATDIF..." when you use a backslash character in the DATDIF() function
Starting in the SAS® 9.4M7 (TS1M7) release, when you use a backslash (\) as the basis argument in the DATDIF() function, the SAS log then displays information that is similar to the following:
1 data a;
2 x=datdif(today(),today(),'act\act');
3 run;
NOTE: Invalid argument to function DATDIF(22517,22517,'act\act') at line 2 column 4.
x=. _ERROR_=1 _N_=1
To circumvent the problem, use the forward slash (/) instead.
Click 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.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
z/OS 64-bit | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
Microsoft® Windows® for x64 | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
64-bit Enabled AIX | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
64-bit Enabled Solaris | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
HP-UX IPF | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
Linux for x64 | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
Solaris for x64 | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
*
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: | 2021-08-26 16:53:03 |
Date Created: | 2021-08-25 03:35:58 |