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:[email protected]] On Behalf 
Of Barry Merrill
Sent: Wednesday, November 02, 2016 12:51 PM
To: [email protected]
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: [email protected]
 Dallas, TX 75229
 http://www.mxg.com                admin questions:     [email protected]
 tel: 214 351 1966
 fax: 214 350 3694



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Ron Thomas
Sent: Wednesday, November 2, 2016 10:54 AM
To: [email protected]
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 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to