Online File

How to use this page


Rick Aster: Professional SAS Programming Secrets: Contents

Chapter 9
Program 9m
Changing the data type of a variable


*
  Professional SAS Programming Secrets
  Program 9m
  Changing the data type of a variable
*;
data work.ab (drop=n_idnumber);
   set work.a
       work.b (in=inb rename=(idnumber=n_idnumber));
   if inb then idnumber = left(put(n_idnumber, f15.));
run;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Secrets

Contents/Online Files

Corrections