Skip to Main Content
SAS 9.4 Output Delivery System, 2nd Edition
book

SAS 9.4 Output Delivery System, 2nd Edition

by SAS Documentation
December 2013
Intermediate to advanced content levelIntermediate to advanced
2058 pages
74h 56m
English
SAS Institute
Content preview from SAS 9.4 Output Delivery System, 2nd Edition
spanned rows
BY groups
Program
options nodate nonumber;
title "Table Using Column and Row Spanning";
title2 "Two Tables, One for Females and One for Males";
proc format;
value $gender
F = "Females"
M = "Males"
;
run;
proc sort data=sashelp.class out=class;
by sex;
run;
data _null_;
set class;
by sex;
if _N_ = 1 then do;
dcl odsout obj();
end;
if first.sex then do;
obj.table_start();
obj.head_start();
obj.row_start();
obj.format_cell(data: "Name", row_span: 3, vjust: "B");
obj.format_cell(data: sex, column_span: 4, format: "$gender.");
obj.row_end();
obj.row_start();
obj.format_cell(data: "Age", row_span: 2, vjust: "B");
obj.format_cell(data: "Vitals", column_span: 3);
obj.row_end();
obj.row_start();
obj.format_cell(data: "Height");
obj.format_cell(data: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Cryptologic Aspects of German Intelligence Activities in South America during World War II

Cryptologic Aspects of German Intelligence Activities in South America during World War II

David P. Mowry

Publisher Resources

ISBN: 9781629590011