Date: Tue, 26 Oct 1999 10:40:54 -0400
Reply-To: HEATONE <HEATONE@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: HEATONE <HEATONE@WESTAT.COM>
Subject: Re: a strange error in the programme
Content-Type: text/plain; charset=US-ASCII
Panos;
It looks like you have an unbalanced quotation in your code. This probably
starts before line 1558. Since you have randomly used single-quotes and
double-quotes, you might look expecially for a situation where you started a
string with a single-quote and ended it with a double-quote, or vice versa.
Edward Heaton, Sr. Systems Analyst,
Westat (An Employee-Owned Research Corporation),
1550 Research Boulevard, Room 2018, Rockville, MD 20850-3159
voice: (301) 610-4818 fax: (301) 294-3992
mailto:heatone@westat.com http://www.westat.com
____________________Reply Separator____________________
Subject: a strange error in the programme
Author: Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Date: 10/26/1999 2:54 PM
Dear All,
i have had somebody to enter in a word doc a few lines
of the stuff shown below. I then did copy and paste the
stuff on SAS. I tried to submit the programme but SAS
keeps complaining for errors which I cannot understand
what exactly they are.
Please, note that I removed a few brackets and in
general tried to do all kinds of amendments and the
problem is still.
I am wondering if you would let me know what you think
about it. I would appreciate your comments.
many thanks
Panos.
PS: My apologies if the bit below is too lengthly. It
was not my intention to do this but i did so in order
to let you have a clearer idea of the problem. many
thanks once again.
1558
1559 /* For CE_ADMIT, Proc Compare produces
unequal values */
1560
1561 /* Print CE_ADMIT, CE_DISCH for those cases with
unequal values
*/
1562
1563
1564
1565
1566 If crn="A004094" and ce_admit='14APR97'd and
(ce_disch='21APR97'd) |
-------
388
WARNING: The current word or quoted string has become
more than 200
characters long. You may have unbalanced
quotation marks.
NOTE: A double quote (") will terminate this quoted
string.
1567 (crn="A013209") and (ce_admit='03JAN97'd) and
(ce_disch='15JAN97'd)|
1568 (crn="A017485") and (ce_admit='26FEB97'd) and
(ce_disch='15APR97'd)|
1569 (crn="A028193") and (ce_admit='26JUL97'd) and
(ce_disch='08AUG97'd) |
1570 (crn="A033942") and (ce_admit='01JAN97'd) and
(ce_disch='01JUL97'd)
1571
1572 then delete ; /* N=5 */
1573
1574
1575 If (crn="A043192") and (ce_admit='15DEC96'd) and
(ce_disch='23DEC96'd) |
WARNING: The current word or quoted string has become
more than 200
characters long. You may have unbalanced
quotation marks.
NOTE: A double quote (") will terminate this quoted
string.
1576 (crn="A043192") and (ce_admit='04JUN97'd) and
(ce_disch='10JUN97'd) |
1577 (crn="A065311") and (ce_admit='15OCT96'd) and
(ce_disch='24OCT96'd) |
1578 (crn="A086775") and (ce_admit='03SEP97'd) and
(ce_disch='11SEP97'd) |
1579 (crn="A106333") and (ce_admit='20MAY97'd) and
(ce_disch='30MAY97'd)
1580
1581 then delete ; /* N=5 */
1582
1583
1584 If (crn="A118583") and (ce_admit='30DEC96'd) and
(ce_disch='09JAN97'd) |
WARNING: The current word or quoted string has become
more than 200
characters long. You may have unbalanced
quotation marks.
NOTE: A double quote (") will terminate this quoted
string.
1585 (crn="A125144") and (ce_admit='07FEB97'd) and
(ce_disch='11FEB97'd) |
1586 (crn="A133570") and (ce_admit='18DEC96'd) and
(ce_disch='05FEB97'd) |
1587 (crn="A139516") and (ce_admit='22MAR97'd) and
(ce_disch='06MAY97'd) |
1588 (crn="A173807") and (ce_admit='12DEC96'd) and
(ce_disch='05NOV96'd)
1589
1590 then delete ; /* N=5 */
1591
1592