Usage Note 37319: ANYDTDTE informat reads the output from WORDDATE format
The WORDDATEw. format writes a SAS date in the form of January 7, 2009. There isn't a WORDDATEw. informat to read that data. However, the ANYDTDTEw. informat can read it into a SAS date.
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.1 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
| Microsoft Windows NT Workstation | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
| Microsoft Windows XP Professional | 9.1 TS1M0 | |
| 64-bit Enabled AIX | 9.1 TS1M0 | |
| 64-bit Enabled HP-UX | 9.1 TS1M0 | |
| 64-bit Enabled Solaris | 9.1 TS1M0 | |
| HP-UX IPF | 9.1 TS1M0 | |
| Linux | 9.1 TS1M0 | |
| OpenVMS Alpha | 9.1 TS1M0 | |
| Tru64 UNIX | 9.1 TS1M0 | |
*
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.
The ANYDTDTEw. informat reads a date value like January 7, 2009 into a SAS date.
data a;
infile datalines truncover;
input x anydtdte20.;
format x date9.;
datalines;
january 7, 2009
;
run;
/* The SAS date was created and the format displays it as shown */
Obs x
1 07JAN2009
SAS has a WORDDATE format but doesn't have a WORDDATE informat. The ANYDTDTE informat can read the output and produce a SAS date.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> Informats ==> Date and Time ==> ANYDTDTE Data Management ==> Manipulation and Transformation ==> Date and Time
|
| Date Modified: | 2009-10-05 16:36:35 |
| Date Created: | 2009-10-01 12:35:55 |