Return to Archive

SAS Tip of the Month
December 2005

To check the syntax of a data step or procedure without actually running the code, use the RUN statement with the CANCEL option at the end of the data step or procedure. The following code illustrates its use:

    proc sort data=climate0;
        by year country co2_prod;
    run cancel;

All the best for the holidays and hope everyone has a happy 2006.

Updated December 19, 2005