Online File

How to use this page


Rick Aster: Professional SAS Programming Secrets: Contents

Chapter 14
Program 14i
COMPUTE block


*
  Professional SAS Programming Secrets
  Program 14i
  COMPUTE block
*;

ods html file="future-events.html";

proc report data=work.future nowd noheader;
   column date city sponsor sponsor_web confirmed validate;
   define date / order format=date9. order=internal;
   define sponsor_web / display noprint;
   define confirmed / display noprint;
   define validate / computed noprint;
   compute validate;
      if not confirmed then sponsor = '';
      if sponsor ne '' and sponsor_web ne '' then
          call define('sponsor', 'url', sponsor_web);
      endcomp;
run;

ods html close;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Secrets

Contents/Online Files

Corrections