Thank you Sri, that PARSE syntax was the problem. I can execute the reformat successfully now.
I'll report the S0C4 as an issue to Syncsort, incorrect syntax should certainly not result in abends. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Sri h Kolusu Sent: Friday, August 05, 2016 7:59 PM To: [email protected] Subject: Re: SYNCSORT S0C4 - What am I doing wrong please? Peter, The syntax for Parse looks a bit off. I am not sure about the syntax of parse for syncsort but that is not a valid DFSORT syntax. Try these control cards and see if it works. The changes are highlighted in blue //SYSIN DD * OPTION COPY INCLUDE COND=(1,1,CH,EQ,C' ',AND,33,6,CH,EQ,C'(NONE)') OUTREC PARSE=(%00=(STARTAFT=BLANKS,ENDAT=BLANKS,FIXLEN=8)), BUILD=(%00,72X) //* Thanks, Kolusu -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
