views:

419

answers:

1

Does anyone know what this error message means?

FATAL: Code generation error detected during MISSING smear generation.

It occurs whilst concatenating approx 40 datasets. I believe it may be due to hitting memory limits from having too many variables (circa 217), but would be good to get confirmation of this...

(log file)

301 Data &dsn.&pfix.;
302 set &setlist.;
303 if SPCODE > 50 then delete;
304 * these SPCODES are subtotals ; run;

FATAL: Code generation error detected during MISSING smear generation.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.XXXXXX may be incomplete. When this step was 
stopped there were 0 observations and 217 variables.

NOTE: DATA statement used (Total process time):
real time 10.58 seconds
cpu time 1.76 seconds
+1  A: 

The only time I've seen this error is regarding memory limits.

The proof would be to subset the amount of datasets and try processing again. If you get success up until a specific limit, the problem would be clear.

Based on your code, you would loop through the datasets instead of processing all in a single step. This should avoid your memory problems as well.

AFHood