SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 63389: Code that sets consecutive SYSTASK commands stops executing after about 6,481 consecutive attempts

DetailsHotfixAboutRate It

A set of SYSTASK commands that is meant to run in a loop might stop working when it reaches approximately 6,481 consecutive times.

Here is an example of code that should generate 10,000 consecutive SYSTASK commands. However, the commands stop executing after the 6,481st time.

%macro a;
   %do i=1 %to 10000;
      systask command 'echo >NUL' taskname=t&i status=s&i;
      waitfor _all_ t&i;
   %end;
%mend a;
%a

The workaround is to break up the consecutive SYSTASK commands. You can divide the set of SYSTASK commands across unconnected SAS jobs and then run the jobs separately.

A fix for this issue is planned for a future software release.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.4 TS1M5
z/OS 64-bit9.4 TS1M5
Microsoft® Windows® for x649.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M5
Microsoft Windows 8 Enterprise x649.4 TS1M5
Microsoft Windows 8 Pro 32-bit9.4 TS1M5
Microsoft Windows 8 Pro x649.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M5
Microsoft Windows 8.1 Enterprise x649.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M5
Microsoft Windows 8.1 Pro x649.4 TS1M5
Microsoft Windows 109.4 TS1M5
Microsoft Windows Server 20089.4 TS1M5
Microsoft Windows Server 2008 R29.4 TS1M5
Microsoft Windows Server 2008 for x649.4 TS1M5
Microsoft Windows Server 2012 Datacenter9.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M5
Microsoft Windows Server 2012 R2 Std9.4 TS1M5
Microsoft Windows Server 2012 Std9.4 TS1M5
Microsoft Windows Server 20169.4 TS1M5
Windows 7 Enterprise 32 bit9.4 TS1M5
Windows 7 Enterprise x649.4 TS1M5
Windows 7 Home Premium 32 bit9.4 TS1M5
Windows 7 Home Premium x649.4 TS1M5
Windows 7 Professional 32 bit9.4 TS1M5
Windows 7 Professional x649.4 TS1M5
Windows 7 Ultimate 32 bit9.4 TS1M5
Windows 7 Ultimate x649.4 TS1M5
64-bit Enabled AIX9.4 TS1M5
64-bit Enabled Solaris9.4 TS1M5
HP-UX IPF9.4 TS1M5
Linux for x649.4 TS1M5
Solaris for x649.4 TS1M5
* 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.