Customizing SAS Report Layout

I had an issue with printing SAS Report Layout where a portion of the report that should be printed in 1 block, is split up between 2 pages due to insufficient space. The solution to this is to create our own customized printing preferences using if-else condition.

Below is the full example:

Your custom sas report layout should have 4 variables:
1) lnCtr – line counter (keeps track of the current lines used)
2) pgCtr – page counter (keeps track of the current page)
3) lnCost – line cost (total lines used by a single print block)
4) lnMax – line max (if sum of line counter and line cost is above line max, do page break)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

One thought on “Customizing SAS Report Layout

  1. Paul Percy

    Cool blog. Thank you for posting

    http://www.blah.com