I am running a SORT with JOINKEYS and using SUM FIELDS=NONE alon with SORT FIELDS=COPY statement. But the SUM FIELDS=NONE is ignored totally and I am getting duplicates in the output.
SYSIN :
JOINKEYS FILE=F1,FIELDS=(1,10,A)
JOINKEYS FILE=F2,FIELDS=(26,10,A)
SORT FIELDS=COPY
REFORMAT FIELDS=(F2:26,10)
SUM FIELDS=NONE
WER276B SYSDIAG= 78317, 793906, 793906, 1427692
WER164B 30,808K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 442,336 BYTES USED
WER146B 12K BYTES OF EMERGENCY SPACE ALLOCATED
WER050I SUM CONTROL STATEMENT IGNORED
JOINKEYS FILE=F1,FIELDS=(1,10,A)
JOINKEYS FILE=F2,FIELDS=(26,10,A)
SORT FIELDS=COPY
REFORMAT FIELDS=(F2:26,10)
SUM FIELDS=NONE
WER276B SYSDIAG= 78317, 793906, 793906, 1427692
WER164B 30,808K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 442,336 BYTES USED
WER146B 12K BYTES OF EMERGENCY SPACE ALLOCATED
WER050I SUM CONTROL STATEMENT IGNORED
Would you please tell me how to apply it so that I don't get duplicates into output file.
Thanks.