| Date: | Tue, 29 Jun 2004 00:06:22 +0800 |
| Reply-To: | christopher <chris.chan@WEBMININGPRO.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | christopher <chris.chan@WEBMININGPRO.COM> |
| Organization: | IMS Netvigator |
| Subject: | Re: value with an ampersand |
| Content-Type: | text/plain; charset=us-ascii |
Hi Jim,
There may have more than one records. The %let statement only handle
one record. How to modify the program in order to handle, say, a
thousand records.
Thanks,
chris
On 28 Jun 04 09:50:30 GMT, jim.groeneveld@VITATRON.COM (Groeneveld,
Jim) wrote:
>Hi statistics [conjecture@GEOCITIES.COM],
>
>How about the following example:
>
>DATA Test;
> LENGTH Value $3;
> INPUT Value;
> CARDS;
>A&C
>;
>RUN;
>
>DATA Test;
> SET Test;
> CALL SYMPUT ('MacValue', Value);
>RUN;
>
>%LET MacValue = %SUPERQ(MacValue);
>%PUT MacValue = &MacValue;
>
>Regards - Jim.
|