Date: Thu, 11 Oct 2007 15:57:03 +0200
Reply-To: Andre Wielki <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andre Wielki <wielki@INED.FR>
Subject: Re: Error with unbalanced quotation marks
In-Reply-To: <470E2A08.1090901@ined.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hari,
the other solution is
%let text=%str(Joan %'s Report);
%put &text;
title "&text";
proc print data=sashelp.class;
where sex=:'M';
run;
Inside %str to prevent the alone ' having effect on interpreting the flow of sas code
it is authorized to use the % just before the quote.
HTH
Andre
--
André WIELKI
INED (Institut National d'Etudes Démographiques)
Service Informatique
133 Boulevard Davout 75980 Paris Cedex 20
mél : wielki@ined.fr tél : 33 (0) 1 56 06 21 54
|