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