Online File
Rick Aster: Professional SAS Programming Logic: Contents
DATA WORK.MON; RETAIN TYPE 'I' FMTNAME 'MNAME' HLO 'UJ'; * LABEL is month number. ; DO LABEL = 1 TO 12; * START is left-aligned, uppercase month name. ; START = LEFT(UPCASE(PUT(MDY(LABEL, 1, 0), MONNAME9.))); OUTPUT; END; RUN; PROC FORMAT CNTLIN=WORK.MON LIBRARY=LIBRARY; RUN;