Problem Note 43858: SASĀ® 9.2 creates an incorrectly formatted fixed-length record file when the record length is an odd number
If you create a fixed-length record file where the record length
of every record in the file is an odd number,
the file is formatted incorrectly.
Here is an example of a program that creates a fixed-length record file called outfile.dat:
DATA _NULL_;
FILE "OUTFILE.DAT" LRECL=15 RECFM=F;
AA='ABCDEFGHIJKLMNO';
DO X = 1 TO 4;
PUT @1 AA $15.;
END;
RUN;
The contents of outfile.dat are then incorrect:
$ TYPE OUTFILE.DAT
ABCDEFGHIJKLMNO
BCDEFGHIJKLMNOA
CDEFGHIJKLMNOAB
DEFGHIJKLMNO
Select the Hot Fix tab in this note to access the hot fix for this problem.
Operating System and Release Information
SAS System | Base SAS | OpenVMS on HP Integrity | 9.21_M3 | | 9.2 TS2M3 | |
*
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.
A hot fix is available for this problem.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-08-30 14:16:07 |
Date Created: | 2011-07-28 14:08:11 |