Date: Wed, 18 Feb 1998 07:27:16 -0500
Reply-To: Xi Chen <chenxi@EASYWAY.NET>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Xi Chen <chenxi@EASYWAY.NET>
Subject: Re: Macro help
Content-Type: text/plain; charset="us-ascii"
You may try the following:
The reason your code does not work is that if SAS is smart enough
to convert _n_, which is numeric, into a character, it is right
justified. As a reason, for a single digit _n_, it will leave
a blank space in your macro variable name, which is not allowed.
Hope it helps.
Chen Xi, Ph.D.
Hi SAS users,
I want to create a series of macro variables using
call symput in data step. My code, shown below, does not work.
call symput('fidmax' || _n_,max);
Could anyone help me with this?