Bingo! Thank you for the help, that did the trick! I also ditched the "6:" positioning in TRAILER1, I thought that I needed to account for the RDW in the TRAILER1 specs, but not so.
Working fine now, many thanks. Now on to bigger and better things like SUBTOTALS . . . 😊 Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of David W Noon Sent: Wednesday, December 18, 2019 6:02 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SYNCSORT question: Why error INCOMPATIBLE LRECL usint TRAILER1 but not without? EXTERNAL EMAIL On Wed, 18 Dec 2019 22:28:12 +0000, Farley, Peter X23353 <peter.far...@broadridge.com> wrote abour SYNCSORT question: Why error INCOMPATIBLE LRECL usint TRAILER1 but not without?: [snip] > //SORTOUT DD DISP=(,CATLG,CATLG), > // DSN=output-VB-file, > // UNIT=SYSDA,SPACE=(CYL,(010,010),RLSE), > // DSORG=PS,RECFM=VBA,LRECL=045,BLKSIZE=0 Your SORTOUT has a 4-byte RDW, an ASA control character and up to 40 print positions in any given logical record. [snip] > TRAILER1=(6:C'TOTALS',4X,TOT=(5,11,ZD),23X), 6 + 4 + 11 + 23 = 44, which is > 40. I would ditch the 23 trailing spaces. -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN