SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 37173: Reading external fixed-length files using the LRECL= option with SAS® 9.2 for OpenVMS on HP Integrity

DetailsHotfixAboutRate It

A change was made in SAS® 9.2 that may have an effect on the way fixed width files are read on OpenVMS™ on HP Integrity (VMI) systems.

In previous releases of SAS, if the actual logical record length (LRECL) was less than the value of the LRECL= option on the INFILE statement, the INPUT statement would honor the file's LRECL value and it would pad the record to the INFILE’s LRECL value.

Beginning with SAS 9.2, the INPUT statement honors the LRECL= on the INFILE statement.

For example, under previous releases of SAS, if a file had an actual record length of 250, and you specified LRECL=280 on the INFILE statement, SAS would return 250 bytes of the file each time it executed. Under SAS 9.2, SAS would return 280 bytes with each execution of the INPUT statement causing the INPUT statement to be out of sync with the actual data and an incorrect record count.

The hot fix will cause SAS 9.2 to behave as it did in previous releases.

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASOpenVMS on HP Integrity9.2 TS2M0
* 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.