The error messages:
CALLER-PROVIDED IDENTIFIER IS "0001"
SYSDIAG= 73439, 367449, 367449, 1818448
16,740K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
0 BYTES RESERVE REQUESTED, 1,004K BYTES USED
20K BYTES OF EMERGENCY SPACE ALLOCATED
ILLEGAL OVERLAPPING OF SUM FIELDS
IN1 : RECFM=FB ; LRECL= 80; BLKSIZE= 80
SYNCSMF CALLED BY SYNCSORT; RC=0000
SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
gaurao wrote:
The error message says ILLEGAL OVERLAPPING OF SUM FIELDS
Quote:
WER220A ILLEGAL OVERLAPPING OF SUM FIELDS
EXPLANATION: A SUM field overlaps another SUM field, a SORT/MERGE control field or the Record Descriptor Word of a variable-length record. All of these are illegal.
INREC FIELDS=(1:1,3,ZD) Why reformat the input to exactlly what it already is?
SORT FIELDS=(1,3,ZD,A) Why sort on the field you are disappearing with the SUM?
SUM FIELDS=(1,3,ZD) Why don't you just do a COPY and SUM?