datastep

Flushing PDV variables

Is there a command or a quick way to set all the existing variables in the PDV to missing? I have some code which runs like this: Data example2; var1='A'; Var2='B'; Var3='C'; /* etc*/ output; Var1='B'; output; stop; run; once the first 'output' statement is reached I'd like to reset all the PDV variables to missing (eg var2=''; var3...

SAS error message (FATAL: Code generation error detected during MISSING smear generation)

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 &d...