Date: Tue, 30 Nov 1999 10:45:48 +0000
Reply-To: Bruce Rogers <b.rogers@VIRGIN.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bruce Rogers <b.rogers@VIRGIN.NET>
Subject: Re: unbalanced quote
Content-Type: text/plain; charset=us-ascii
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
|