SAS typically ignores 73-80 line numbers. The SASLOG, as Barry indicated, lists the SAS code line and the error location.
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Leonardo Vaz > Sent: Wednesday, November 02, 2016 9:55 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: SAS Error > > I don't know SAS or how it reads the SYSIN DD, but maybe you have numbers on > columns 73-80? > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Barry Merrill > Sent: Wednesday, November 02, 2016 12:51 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: SAS Error > > The 180 error means SAS could not resolve the syntax, and there is nothing > VISIBLY wrong in your program. > > Post the full SAS log of the job and/or look for an unprintable character in > your SAS program. > > Barry > > > Merrilly yours, > > Herbert W. Barry Merrill, PhD > President-Programmer > Merrill Consultants > MXG Software > 10717 Cromwell Drive technical questions: supp...@mxg.com > Dallas, TX 75229 > http://www.mxg.com admin questions: ad...@mxg.com > tel: 214 351 1966 > fax: 214 350 3694 > > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Ron Thomas > Sent: Wednesday, November 2, 2016 10:54 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: SAS Error > > Hi . > > I am completely new to SAS and when i executed the below one to write 111 > char to a dataset , the following below error message is showing up could > someone please let me know where the issue is ? > > > //RDDATA EXEC SAS,WORK='40000,40000' > //* > //SASLIST DD DSN=RS32UVT.SAS.SASLIST, > // DISP=SHR > //TESTF1 DD DSN=RS32UVT.TEST.FILE, > // DISP=SHR > //SYSIN DD * > OPTIONS NOCENTER; > DATA _NULL_ ; > FILE TESTF1 ; > PUT @1 '111 ' > ; > RUN; > //SYSPRINT DD SYSOUT=* > > > ERROR 180-322: Statement is not valid or it is used out of proper order. > ERROR 180-322: Statement is not valid or it is used out of proper order. > ERROR 180-322: Statement is not valid or it is used out of proper order. > > Thanks > Ron T > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN