Tip of the Day
sasCommunity Tip of the Day
Prior to submitting your code against the full dataset, it should be tested using a limited number of, or no, observations. This can be done via the OBS= or FIRSTOBS= system options or data set options.
Note that the systems options, if set at the top of the program, will limit the observations for the entire program, including all datasets, procedures, etc. The dataset options will only limit the observations for the procedure or data step that the option is specified on.
Specifically, including the following code at the top of the program allows syntax checking mode, and runs the program with no observations.
After the code is checked using a limited number of observations, it can be resubmitted allowing all records necessary to flow through the program. In this case, the user would want to change the line above to:
Submitted by Stefanie G. Reay. Contact me at my Discussion Page.
Feel free to comment on this tip.
Tips Index by Status
The Tip of the Day Project
A new technical Tip of the Day related to SAS software will be shown on this page and the sasCommunity.org main page every day. Before getting started, you can Browse and Search the current list of tips contributed by users.
Anyone can participate. We hope you do! Here's how:
- Submit a Tip by posting a SAS tip that you think others might find useful
- Review a Tip prior to publishing