Date: Tue, 30 Nov 1999 13:30:19 GMT
Reply-To: Robin baker <rdbaker@SYMPATICO.CA>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robin baker <rdbaker@SYMPATICO.CA>
Organization: Sympatico
Subject: Re: unbalanced quote
Neil, Please post this code, if you could thanks!
On 30 Nov 99 11:20:04 GMT, Neil.Simpson@NATWEST.COM (Neil Simpson)
wrote:
>On the SAS macro course they used to provide an example of a bit of code
>that did just this - in addition it would close off hanging brackets, double
>quotes and other stuff.
>
>Regards
>Neil Simpson
>UK
>
>> ----------
>> From: Bruce Rogers[SMTP:b.rogers@VIRGIN.NET]
>> Sent: 30 November 1999 10:45
>> To: SAS-L@LISTSERV.VT.EDU
>> Subject: Re: unbalanced quote
>>
>> Jim Groeneveld wrote:
>>
>> > One possibility: exit SAS and restart SAS. Or run SAS in batch, like me.
>>
>> Coward ;-) There are many ways of dealing with this without resorting to
>> such
>> defeatist measures. I suggest a search of Deja news for answers to this
>> much-covered question.
>>
>> As Robin pointed out, in this case it's simple. Submit the code:
>> ' ; run;
>> to free up SAS. Then fix the problem and resubmit.
>>
>> Rgds
>> Bruce
>>
>> > > -----Original Message-----
>> > > From: diltilia@MY-DEJA.COM [SMTP:diltilia@MY-DEJA.COM]
>> > > Sent: Tuesday, November 30, 1999 3:12 AM
>> > > To: SAS-L@LISTSERV.UGA.EDU
>> > > Subject: unbalanced quote
>> > >
>> > > Hi,
>> > >
>> > > In a if-then clause, I left out a single quote. When it happened, it
>> > > stopped my SAS session. When I issue other command, it didn't
>> responde.
>> > > How can I bring the session back? I searched the help section but
>> > > couldn't find anything. I know it's a simple question and hesisted to
>> > > bother everybody but I really couldn't figure it out. Please help.
>> > >
>> > > Thanks
>> > > -Diltilia
>> > >
>> > > from the log:
>> > > 146 length q1 $50.;
>> > > 147 length q2 $20.;
>> > > 148 if _1='1' then q1=My sponsored child';
>> > > ---------
>> > > 388
>> > >
>> > > ERROR 388-185: Expecting an arithmetic operator.
>> > >
>> > > WARNING: The current word or quoted string has become more than 200
>> > > characters long. You may
>> > > have unbalanced quotation marks.
>> > > NOTE: A single quote (') will terminate this quoted string.
>>
>>
>>
>>
>> --
>> Triumph Sprint ST, Volvo XC, Salomon X-Scream Series
>>
>
>---------------------------------------------------------------------------
>The contents of this e-mail may be privileged and are confidential. It may not be disclosed to or used by anyone other than the addressee(s), nor copied in any way. If received in error, please advise the sender, then delete it from your system.
>National Westminster Bank Plc is regulated by the Personal Investment Authority and IMRO for investment business. A member of the NatWest and Gartmore Marketing Group advising on the life assurance, pensions and unit trust products only of that Marketing Group.
>Registered Office: 41 Lothbury London EC2P 2BP
>Registered Number: 929027 England
>---------------------------------------------------------------------------
|