Date: Thu, 16 Jun 2005 14:15:29 -0700
Reply-To: Mark <joystar.jin@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mark <joystar.jin@GMAIL.COM>
Subject: How to covert macro variable to number and assign back to macro
Content-Type: text/plain; charset="iso-8859-1"
I need to pass a month variable into my macro.
Then I want to convert it to number, and increase it by 200.
Say if the value is 200405, then after pass in into macro
I want to get 200605 and assign it to a new macro variable.
For instance, in above code, &MONTH contain value of 200405.
I want to get 200605(200405+200) and assign it to a new macro