1.

What is PAD option and how it is used?

Answer»

Numeric Format AG’ is created, in the work LIBRARY (is a temporary format) with the specified RANGES

  • 0 to less than 30 coded as ‘young’
  • 30 to less than 61 coded as ‘old’
  • Format ‘ag’ is CALLED & applied with ‘age’
Proc format lib=work; Value ag 0-<30=’young’ 30-<61=’old’; Run; Proc print data=sasuser.admit; Format age ag.;


Discussion

No Comment Found