Online File

How to use this page


Rick Aster: Professional SAS Programming Secrets: Contents

Chapter 10
Program 10g
Table lookup with index


*
  Professional SAS Programming Secrets
  Program 10g
  Table lookup with index
*;

data work.custcur;
   set work.current;
   * Add customer ID and name from account table;
   set work.acct (keep=account customer_id customer_name)
       key=account/unique;
   if _iorc_ then do; * Account not found in account table;
      call missing(customer_id, customer_name);
      _iorc_ = 0;
      _error_ = 0;
      end;
run;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Secrets

Contents/Online Files

Corrections