Problem Note 57759: Using the FILENAME statement, CLIPBOARD Access Method on a UNIX host does not return the contents of the recent clipboard
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
SAS System | Base SAS | 64-bit Enabled AIX | 9.4 | | 9.4 TS1M0 | |
64-bit Enabled HP-UX | 9.4 | | 9.4 TS1M0 | |
64-bit Enabled Solaris | 9.4 | | 9.4 TS1M0 | |
HP-UX IPF | 9.4 | | 9.4 TS1M0 | |
Linux for x64 | 9.4 | | 9.4 TS1M0 | |
Solaris for x64 | 9.4 | | 9.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.
The FILENAME statement, CLIPBOARD Access Method on a UNIX host does not return the contents of the recent clipboard; it also does not support records greater than 256.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2016-03-31 09:59:29 |
Date Created: | 2016-02-29 16:09:54 |