| Date: | Thu, 12 Feb 2009 02:22:51 -0800 |
| Reply-To: | ash007 <RamsamyAshley@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | ash007 <RamsamyAshley@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | replace |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hi
data _null_;
CALL SYMPUT('__CTR_CLE_REFCTR','CTR_GROUPE||"_"||CTR_SS_GROUPE||"_"||
CTR_ID_CONTRAT||"_"||CTR_GARANTIE');
run;
%put &__CTR_CLE_REFCTR;
data _null_;
ANSWER = %sysfunc(TRANSLATE(&__CTR_CLE_REFCTR,'||"_"||','-'));
put ANSWER;
run;
how can I replace ||"_"||' by -
thanks
|