Problem Note 49651: SAS hangs when using %DISPLAY within a SUBMIT/ENDSUBMIT
If %DISPLAY is executed within a SUBMIT block, SAS may hang.
The macro %WINDOW/%DISPLAY is not allowed within a SUBMIT/ENDSUBMIT block.
One possible work-around would be to use a DATA STEP WINDOW statement instead. See below:
/** This would fail within SCL **/
%window info
#5 @5 'What is your name?'
#5 @26 name 8 attr=underline;
%display info;
proc optmodel;
str name;
submit / out name;
%display info;
endsubmit;
put name;
quit;
/** This would work within SCL **/
proc optmodel;
str name;
submit / out name;
data _null_;
length name $20;
window info
#5 @5 'What is your name?'
#5 @26 name attr=underline;
display info;
call symput('NAME', name);
stop;
run;
endsubmit;
put "Hello, " name ".";
quit;
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.4 TS1M0 |
Windows Vista | 9.1 TS1M3 | 9.4 TS1M0 |
Windows Vista for x64 | 9.1 TS1M3 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 | 9.4 TS1M0 |
HP-UX IPF | 9.1 TS1M3 | 9.4 TS1M0 |
Linux | 9.1 TS1M3 | 9.4 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 | 9.4 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 | 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.
When running a %WINDOW/%DISPLAY within an SCL SUBMIT block, SAS may hang.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2013-04-22 11:12:18 |
Date Created: | 2013-04-15 11:34:06 |