Ron, It takes less than 2 seconds to figure out that you have mismatched single quotes at text beginning with C''96 and if you looked at the sysout I am sure you will see an asterisk or dollar symbol pointing to the error under the text I mentioned.
Thanks, Kolusu IBM Mainframe Discussion List <[email protected]> wrote on 04/02/2015 08:31:13 AM: > From: Ron Thomas <[email protected]> > To: [email protected] > Date: 04/02/2015 08:31 AM > Subject: Sort Jcl > Sent by: IBM Mainframe Discussion List <[email protected]> > > Hello. Could some one please let me know why the below sytntax is > not working ? > > //SYSIN DD * > SORT FIELDS=COPY > OUTREC FINDREP=(INOUT=(C''96 M/B "WHITE SALE"', > C' 96 M/B WHITE SALE ')) > /* > Msg received in sort is "WER268A OUTREC STATEMENT : SYNTAX ERROR" > > 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
