I pasted your code into my JCL and it worked like a charm.  Do you have some 
extraneous data on a line that wasn't copied to the email?

--
 
Donald Grinsell, Systems Programmer
Enterprise Technology Services Bureau
SITSD/Montana Department of Administration
406.444.2983 (D)

"We fear things in proportion to our ignorance of them."
~ Titus Livius

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Ron Thomas
> Sent: Wednesday, November 02, 2016 9: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

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to