![]() Chapter Contents |
![]() Previous |
![]() Next |
| The PRINT Procedure |
| Procedure features: |
| ||||
| Other features: |
|
This example shows two ways of printing a data set with a large number of variables: one is the default, and the other uses ROWS=. For detailed explanations of the layouts of these two reports, see the ROWS= option and see Page Layout.
These reports use a pagesize of 24 and a linesize of 64 to help illustrate the different layouts.
Note: When the two reports are written as HTML output, they do not differ.
| Program |
options nodate pageno=1 linesize=64 pagesize=24 ;
| | proc print data=empdata(obs=12); id idnumber; title 'Personnel Data'; run; |
| | proc print data=empdata(obs=12) rows=page; id idnumber; title 'Personnel Data'; run; |
| Output |
Default Layout for a Report with Many Variables
Layout Produced by the ROWS=PAGE Option
| Each page of this report contains values for only some of the variables in each observation. However, each page contains values for more observations than the default report does. |
|
|
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.