SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59638: IMSTAT SCORE fails with the error "Code generation failed. The user program parsed correctly but failed to compile"

DetailsHotfixAboutRate It

If the active table in a PROC IMSTAT statement has 0 (zero) observations, the SCORE statement produces the following error.

ERROR: Code generation failed. The user program parsed correctly but failed to compile.

To work around the problem, ensure that the table used by the SCORE statement is not empty.

Also, in rare instances, the error occurs in a distributed SAS® LASR™ Analytic Server. In this situation, the data must be small enough that one or more worker nodes do not contain any data blocks.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS LASR Analytic ServerMicrosoft® Windows® for x642.72.79.4 TS1M39.4 TS1M5
Linux for x642.72.79.4 TS1M39.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.