You can use the INTNX function to increment a value as you have shown using parameter arguments telling SAS how to increment. Though it's unclear what drives the number of output observations you want to generate, I would suggest a DO / END programming paragraph such as:
DATA ;
FORMAT MY_START_DATE MY_DERIVED_DATE MMDDYYS8. ;
MY_START_DATE = TODAY();
DO I=1 TO 6;
MY_DERIVED_DATE = INTNX('MONTH',MY_START_DATE,I);
OUTPUT;
PUTLOG _ALL_;
END;
STOP;
RUN;
Scott Barry
SBBWorks, Inc.
Suggested Google advanced search argument on this topic:
sas dates intnx site:sas.com
Message was edited by: sbb