LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2005, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 28 Mar 2005 15:31:59 GMT
Reply-To:     julierog@ix.netcom.com
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Roger Lustig <trovato@VERIZON.NET>
Subject:      Re: help on syntax error
Comments: To: sas-l@uga.edu
In-Reply-To:  <1112014905.911522.122810@o13g2000cwo.googlegroups.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

What's line 324 about? (Relative to the end of line 323, that is...)

Roger

gscsrc@hotmail.com wrote: > I had good working code but need to add to it > in the set statement of the keep part I added ....cnfndtyp > > I also added > > cnfndtyp ne 'F/L' and > 321 + cnfndtyp ne 'FSL' and > 322 + cnfndtyp ne 'LPA' and > 323 + cnfndtyp ne 'S/L' and /* exclude > Local contracts */ > > can somebody help me fix this code? > thanks in advance > > > > 302 +data proppass; > 303 + format cndtlet yymmdd. > 304 + cndtrej yymmdd. > 305 + cndtacnl yymmdd.; > 306 + > 307 + set dproposl (keep =contid ccontid cnprptyp cnhwytyp > cndtlet cnfndtyp > 308 + cndtrej cndtacnl); > 309 + by contid; > 310 + > 311 + if cndtlet ne . then cndtlet =datepart(cndtlet); > 312 + if cndtrej ne . then cndtrej =datepart(cndtrej); > 313 + if cndtacnl ne . then cndtacnl =datepart(cndtacnl); > 314 + > 315 + if cnprptyp not in ('M','TM') and /* exclude > Maintenance, Traffic Maintenance */ > 316 + cnprptyp not in ('BT','MT','RT','TT') and /* exclude > Toll Road */ > 317 + cnhwytyp ne 'TOLL' and /* exclude > Toll Road */ > 318 + cndtrej =. and /* Date > Rejected must be missing */ > 319 + cndtacnl =. and /* Date > Award Cancelled must be missing */ > 320 + cnfndtyp ne 'F/L' and > 321 + cnfndtyp ne 'FSL' and > 322 + cnfndtyp ne 'LPA' and > 323 + cnfndtyp ne 'S/L' and /* exclude > Local contracts */ > 324 +; _ _ _ > 22 22 22 > ERROR 22-322: Syntax error, expecting one of the following: a name, a > quoted string, a numeric constant, a datetime constant, ERROR 22-322: > Syntax error, expecting one of the following: a name, a quoted string, > a numeric constant, a datetime constant, ERROR 22-322: Syntax error, > expecting one of the following: a name, a quoted string, a numeric > constant, a datetime constant, > a missing value, INPUT, PUT. a missing > value, INPUT, PUT. a missing value, INPUT, PUT. > > 325 + > 326 + if put(contid,$accptd.) ne 'ACCEPTED'; >


Back to: Top of message | Previous page | Main SAS-L page