SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57769: The FILENAME statement, CLIPBOARD Access Method does not support reading records with a length greater than 256

DetailsHotfixAboutRate It

The FILENAME statement, CLIPBOARD Access Method does not support reading records with a length greater than 256. When you encounter this problem, you see a record length of 256 in the note rather than the length that you specified in the LRECL system option. Here is an example note:

NOTE: 256 records were read from the infile CLIP. The minimum record length was 44. The maximum record length was 256.

To work around this problem, you must read in a record in multiple pieces, using code similar to the following:

options lrecl=300; filename out clipbrd; data _null_; length txt $300; file out; txt = repeat('x',300); put txt; run; filename out clear; filename clippy clipbrd; data _null_; infile clippy length=l end=eof; input @; input @1 line $varying300. l; put l=; put line=; if l=255 or eof then total+l; if eof then put total=; run;

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for 64-Bit Itanium-based Systems9.49.4 TS1M0
Microsoft® Windows® for x649.49.4 TS1M0
Microsoft Windows 8 Enterprise x649.49.4 TS1M0
Microsoft Windows 8 Pro x649.49.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit9.49.4 TS1M0
Microsoft Windows 8.1 Enterprise x649.49.4 TS1M0
Microsoft Windows 8.1 Pro9.49.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit9.49.4 TS1M0
Microsoft Windows 109.49.4 TS1M0
Microsoft Windows Server 2008 R29.49.4 TS1M0
Microsoft Windows Server 2008 for x649.49.4 TS1M0
Microsoft Windows Server 2012 Datacenter9.49.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter9.49.4 TS1M0
Microsoft Windows Server 2012 R2 Std9.49.4 TS1M0
Microsoft Windows Server 2012 Std9.49.4 TS1M0
Windows 7 Enterprise x649.49.4 TS1M0
Windows 7 Professional x649.49.4 TS1M0
64-bit Enabled AIX9.49.4 TS1M0
64-bit Enabled HP-UX9.49.4 TS1M0
64-bit Enabled Solaris9.49.4 TS1M0
HP-UX IPF9.49.4 TS1M0
Linux for x649.49.4 TS1M0
Solaris for x649.49.4 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.