|
> From: Balint, Jess [mailto:JBalint@ALLDATA.NET]
> Hello all. I have the following code:
> if first.consumer_id then do;
> %let x = 1;
> end; else do;
> %let x = x + 1;
> end;
> bank_card_&x_src = bcrd_src;
> bank_card_&x_date = bcrd_date;
> Whis is part of it showing up red? Does this mean the SAS
> program will stop because of this? Thanks.
eyow! no, no, this won't work.
%PUT X<&X.>;
will return:
X<x + 1>
what are you trying to do with
> bank_card_&x_src = bcrd_src;
> bank_card_&x_date = bcrd_date;
?
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
|