Debugging Stored Processes |
Several SAS options can help you debug problems in your stored processes. If you can return the SAS log to your Web browser, then activating some of these options can make that log more useful. If you are debugging a stored process that contains macro code, you should supply one or more of these options at the beginning of your stored process: MPRINT, SYMBOLGEN, MLOGIC, or MERROR.
If, for security reasons, you have disabled the display of submitted source code in your stored process by using the NOSOURCE option when you are debugging, you should enable this feature by supplying the SOURCE option. You can then see your submitted SAS code in the log that is returned to your Web browser. After you are finished debugging, you can revert to using NOSOURCE if your security model requires it.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.