![]() | ![]() | ![]() | ![]() | ![]() |
Using the MISSING= option to change the default missing numeric representation from a period to a space can cause the PUT statement to insert spaces between what should be consecutive delimiters when writing to a text file with the DSD option. See sample code and output below:
Sample program:
options missing=''; data _null_; file 'test.txt' dsd dlm=%str(';'); x=.; y=2; put "SAS v&sysver"; put '*' x :4. y :4. '*'; run; options missing=.;
When run in SAS v9.1 the test.txt file contains the following:
*;2;*
Nothing is output between the asterisk and the semi-colon, whereas in SAS v9.2 a single blank is written to the file for the missing numerical x:
* ;2;*
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows XP 64-bit Edition | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft® Windows® for x64 | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows XP Professional | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Windows Vista | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
64-bit Enabled AIX | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
64-bit Enabled HP-UX | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
64-bit Enabled Solaris | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
HP-UX IPF | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Linux | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Linux for x64 | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
OpenVMS on HP Integrity | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Solaris for x64 | 9.21 | 9.21 | 9.2 TS2M0 | 9.2 TS2M3 |