Problem Note 43560: The message "ERROR: Undetermined I/O failure" occurs when an external file is read in SASĀ® 9.2
Beginning with SAS 9.2, SAS uses the IBM Large Block Interface by default whenever possible when reading an external file. This might cause an error when you read the same file twice with different block sizes.
For example, if, during the same SAS session, you read both the directory of a partitioned data set (PDS) or an extended PDS (PDSE) and a member of that PDS or PDSE using the same fileref or DD name, you might receive the following error:
ERROR: Undetermined I/O failure.
To read the directory of a PDS or PDSE, you allocate the file using only the data set name (no member name). Typically, the INFILE statement has explicit attributes of RECFM=U, LRECL=256, and BLKSIZE=256. To subsequently process a member using the same fileref, you would use aggregate syntax (for example, fileref(member)). In previous releases, SAS processed the member correctly, but when using the Large Block Interface, SAS does not reset the BLKSIZE attribute for reading the PDS member. It retains the value of 256 set in the preceding DATA step that read the directory.
To circumvent this error, disable use of the Large Block Interface by specifying the SAS system option NOFILELBI before reading the directory of the PDS or PDSE.
Operating System and Release Information
SAS System | N/A | z/OS | 9.2 TS1M0 | 9.3 TS1M2 |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-07-07 15:01:44 |
Date Created: | 2011-06-20 13:13:59 |