Online File

How to use this page


Rick Aster: Professional SAS Programming Shortcuts: Contents

Chapter 49
Program
Percent of total


proc summary data=work.si;
   var gdp;
   output sum=gdpsum out=work.total;
run;
data work.sector;
   if _n_ = 1 then set work.total (keep=gdpsum);
   set work.si;
   gdppct = gdp/gdpsum*100;
run;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Shortcuts

Contents/Online Files

Corrections

Catalog Page