Online File

How to use this page


Rick Aster: Professional SAS Programming Shortcuts: Contents

Chapter 23
Program
Creating integrity constraints


PROC DATASETS LIBRARY=CORP NOLIST;
   MODIFY NEWHIRE; 
      IC CREATE BORN=CHECK(WHERE=(DOB < DATE()))
          MESSAGE='Birth date must be before today.';
      IC CREATE EST_HIRE=CHECK(WHERE=(HIREDATE >= '01JAN1989'D))
          MESSAGE='Hire date is missing or is too early.';
RUN;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Shortcuts

Contents/Online Files

Corrections

Catalog Page