Problem Note 11674: SCL code after ENDSUBMIT statement may execute prematurely
If you submit SAS code that references a remote libref within a SUBMIT
CONTINUE block in a SAS/AF FRAME entry, the SAS Component Language (SCL)
code following the ENDSUBMIT statement may execute before the SAS code
in the SUBMIT block finishes. For example, if the SAS code creates a
data set, this data set may not be available when the SCL code attempts
to open it.
To circumvent the problem, you can execute the CALL WAIT routine in SCL
code following the ENDSUBMIT statement to give the SAS code time to
complete.
Another circumvention is to execute a DO loop in your SCL code that
attempts to reference the created data set repeatedly until either the
maximum executions is reached or the data set exists. For example,
dsid=0;
i = 0;
do until(dsid ne 0 or i = 10000);
dsid=open('work.dset');
i + 1;
end;
A Technical Support hot fix for SAS 9.1.2 (9.1 TS1M2) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/c9_sbcs_prod_list.html#011674
Operating System and Release Information
SAS System | SAS/AF | z/OS | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows NT Workstation | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows XP Professional | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows 2000 Server | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | 9.1 TS1M3 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | 9.1 TS1M3 |
64-bit Enabled Solaris | 9.1 TS1M0 | 9.1 TS1M3 |
64-bit Enabled AIX | 9.1 TS1M0 | 9.1 TS1M3 |
OpenVMS Alpha | 9.1 TS1M0 | 9.1 TS1M3 |
64-bit Enabled HP-UX | 9.1 TS1M0 | 9.1 TS1M3 |
HP-UX IPF | 9.1 TS1M0 | 9.1 TS1M3 |
Linux | 9.1 TS1M0 | 9.1 TS1M3 |
Tru64 UNIX | 9.1 TS1M0 | 9.1 TS1M3 |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2004-07-23 10:29:29 |
Date Created: | 2004-01-22 14:22:58 |