SAS is processed as a set by submit, from compilation to execution. Basically, it is not possible to compile only. It may be possible to do something similar by using an empty data set. However, syntax errors are detected in the compile phase, but any problems with the dataset or variables are detected as errors in the execution phase, so it is not very useful unless the data is actual data. Therefore, I sometimes test run the program with "obs= system options" or "obs= dataset options" to limit the number of observations before a time-consuming process.
... View more