PROC PRINTで一定データ数毎に空行を挿入する

http://support.sas.com/kb/31/366.html/よりメモ。
PROC PRINTで空行を挿入するサンプルが紹介されています。
この例では5オブザベーション毎に空行を挿入しています。

/* Insert blank observation after every 5 observations */
data class_blanks;
set sashelp.class;
output; /* Output real observation */
if mod(_n_,5)=0;
array allnums {*} _numeric_ ;
array allchar {*} _character_ ;
drop i;
do i=1 to dim(allnums); allnums{i}=.; end;
do i=1 to dim(allchar); allchar{i}=' '; end;
output; /* Output blank observation */
run;
options missing=' '; /* Display numeric missing as blank */
proc print data=class_blanks noobs;
title 'SASHELP.CLASS with Blank Line After Every 5 Obs';
run;

SAS Ver9.2では、上記のようなことをしなくてもblanklineオプションを使えばすむそうです。

/* The BLANKLINE option accomplishes the same result */
proc print data=sashelp.class blankline=5;
title 'SASHELP.CLASS with Blank Line After Every 5 Obs';
run;