The data in positions 280,11 is not zoned decimal Add this after sort fields
INCLUDE COND=(280,11,ZD,EQ,NUM) <-- States to only process zoned decimal data Look at WER054I for number records failing ZD test -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Farley, Peter x23353 Sent: Monday, October 24, 2016 12:06 PM To: [email protected] Subject: SYNCSORT SUM of duplicates - What am I doing wrong please? I am trying to summarize a count for duplicate-key records in a very large (14M+ records) RECFM=FB,LRECL=300 file using these control cards: SORT FIELDS=(1,219,CH,A) SUM FIELDS=(280,11,ZD) INREC OVERLAY=(280,11,C'00000000001') SYNCSORT is getting an 0C7 abend and I do not understand why. Can anyone enlighten me what I am doing wrong here? The bytes being overlaid are "filler" near the end of the record and are available to be used for counting duplicates. TIA for any assistance you can provide. Peter 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
