Writing a report can be an iterative process. You will likely find that it takes several tries to produce the report you need. Before starting your report program, make sure you understand your data and the types of information that the report should convey. Do not concentrate on the style attributes of the report until you’re sure you can produce the basic output. Then after successfully establishing the structure of the report, add the formatting features that improve the look and readability of your report.
These five steps can guide you in writing your report programs.
1. | State the information that the report should convey. Write sentences that describe and explain the contents of your report. | ||||||||||||||
2. | Sketch how the report should look. Consider these issues in planning your report:
| ||||||||||||||
3. | Understand your data. Consider these issues when you investigate the content and structure of your analysis data sets: | ||||||||||||||
4. | Select the report-writing procedure or decide to use a DATA step and, after reshaping the data sets as explained in Step 3, write the basic statements that construct the report. Ensure that your program can construct the basic layout of the report, and do not dwell on formatting the report (formatting columns, adding labels, adding style options, etc.). It may take several tries to achieve the required structure, and you may need to return to Step 3 to learn more about your data sets, reshape the data sets, or compute new variables. Refer to Table 1.2 for a list of which procedures perform best at which tasks. | ||||||||||||||
5. | Add formatting features to the report. Consider whether to add these items to improve the look of your report:
Your final report program will likely be a hybrid of formatting features available within the procedure and those that can be supplied with ODS specifications. |
3.129.249.141