Online File

How to use this page


Rick Aster: Professional SAS Programming Secrets: Contents

Chapter 10
Program 10t
Changing group to observation


*
  Professional SAS Programming Secrets
  Program 10t
  Changing group to observation
*;
data work.wide2 (keep=place avtemp1-avtemp12);
   array atx{12} avtemp1-avtemp12;
   retain atx;
   set work.tall (keep=place avtemp month);
   by place;
   if lbound(atx) <= month <= hbound(atx) then atx{month} = avtemp;
   if last.place then output;
run;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Secrets

Contents/Online Files

Corrections