Online File
Rick Aster: Professional SAS Programming Shortcuts: Contents
OPTIONS MISSING=' ';
DATA _NULL_;
WINDOW Periods
#1 @3 'Time Period Comparison'
#3 @5 'Base time period:' +1 BASE $F7.
#4 @5 'Number of time periods to compare:' +1 N 2.
#7 @2 'Press Enter to continue.';
DISPLAY PERIODS;
CALL SYMPUT('BASE', BASE);
CALL SYMPUT('N', PUT(N, F2.));
STOP;
RUN;