SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 14291: ANYDT* informats do not generate INVALID DATA messages

DetailsAboutRate It
Beginning in SAS 9, the ANYDTDTE, ANYDTTME, and ANYDTDTM informats are
able to read many different variations of date, time, and datetime
values.  Typically when a numeric informat reads an invalid value, an
INVALID DATA note is written to the log, _ERROR_ is set to 1, and the
variable being read is assigned a missing value.  The ANYDT* informats
do not produce an INVALID DATA message or set _ERROR_ to 1 if the
input text cannot be interpreted as a date, time, or datetime value,
however the variable being read is assigned a missing value.

You can use a specific informat (such as IS8601DT) to obtain the
typical informat behavior when invalid data is encountered.  Refer to
 #011206  for more information about IS8601* informats.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SAS64-bit Enabled AIX9 TS M0
OpenVMS Alpha9 TS M0
64-bit Enabled HP-UX9 TS M0
HP-UX IPF9 TS M0
HP-UX9 TS M0
Linux9 TS M0
z/OS9 TS M0
64-bit Enabled Solaris9 TS M0
Solaris9 TS M0
Microsoft Windows 2000 Advanced Server9 TS M0
Microsoft Windows 2000 Datacenter Server9 TS M0
Microsoft Windows 2000 Professional9 TS M0
Microsoft Windows XP Professional9 TS M0
Microsoft Windows NT Workstation9 TS M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9 TS M0
Microsoft Windows Server 2003 Standard Edition9 TS M0
Microsoft Windows Server 2003 Enterprise Edition9 TS M0
Microsoft Windows Server 2003 Datacenter Edition9 TS M0
Microsoft Windows 2000 Server9 TS M0
Tru64 UNIX9 TS M0
AIX9 TS M0
* 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.