Friday, December 12, 2008

USER system option for batch mode debug

We run SAS program in two mode: batch mode and interactive mode (DMS/NODMS).

With batch mode, I can automate and schedule the SAS job. This can improve the work efficiency dramatically.
However, when SAS job fail, it will take more time to solve the issue.

Below are the steps:
1. With system option USER, run the file and save WORK datasets in permanent libary.
2. Check the error point in SAS log.
3. Start from error point, debug the code step by step.

No comments: