When you copy and paste in the Enhanced Editor window in the SAS windowing environment, SAS might temporarily stop responding. When this issue occurs, the SAS session stops responding for anywhere from 30 to 45 seconds before returning to normal. The issue occurs only under the following conditions:
- You use Microsoft Windows 11.
- You attempt a copy or paste operation in the Enhanced Editor window.
- SAS procedure output is currently displayed in the Results Viewer window.
Workarounds
There are several workarounds.
Windows Workaround
To circumvent the issue via Windows, complete these steps:
- Invoke the Windows Settings application.
- On the left menu, select System.
- On the right side, scroll down and select Clipboard.
- On the Clipboard screen, turn off the following option: Suggested actions (get suggestions for actions when you copy a date, time, or phone number).
- Close the Settings application and reboot your Windows 11 machine.
SAS Windowing Environment Workarounds
To circumvent the issue via the SAS windowing environment, use one of the following workarounds:
- Manually close the Results Viewer window before attempting any copy or paste operation. To do this, select File ► Close from the drop-down options menu when the Results Viewer window is the active window.
- Add the following statements to the top of your code, which will cause SAS to display procedure output in the SAS Output window instead of the Results Viewer window:
ods _all_ close;
ods listing;
- Use the SAS Program Editor window instead of the SAS Enhanced Editor window. To do this, select View ► Program Editor from the SAS windowing environment drop-down options menu.