SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57759: Using the FILENAME statement, CLIPBOARD Access Method on a UNIX host does not return the contents of the recent clipboard

DetailsHotfixAboutRate It

In SAS® 9.4, when you use the FILENAME statement, CLIPBOARD Access Method on a UNIX-based host, you do not get the most recent contents of the clipboard. The following code runs successfully in Windows operating environments but gives incorrect results on UNIX based-hosts:

/* step 1 */ filename out clipbrd; data _null_; file out; txt = 'qqqq'; put txt; run; filename out clear; /* step 2 */ filename out clipbrd; data _null_; file out; txt = 'xxxxaaaa'; put txt; run; filename out clear; /* step 3 */ filename in clipbrd; data _null_; infile in; input; txt = _infile_; put txt=; run; filename in clear;

When you run this code under UNIX, step 3 returns the contents of the clipboard from step 1, not from step 2.

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 SAS64-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.