Did you know you can add the keyword CANCEL immediately after the RUN statement in your DATA or PROC step, and your SAS will not run. This is another way to check your syntax:

Data out.demo;
Set in.demo;
x = x*2;
run cancel;

NOTE: Data step not executed at user’s request.

proc print data=out.demo noobs;
run cancel;

NOTE: The procedure was not executed at user’s request.

quit;

Advertisements