Posted: Thu Jul 05, 2012 11:20 am Post subject: SUM FIELDS=NONE needed to remove dups?
I have the below JCL where I like to know if I need to add SUM FIELDS = NONE to remove dups?.
Someone told me that SORT Fields and Sum fields cannot exist in the same Cntlcard.
Thx for your time.
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Thu Jul 05, 2012 11:54 am Post subject: Re: SUM FIELDS=NONE needed to remove dups?
vak255 wrote:
I have the below JCL where I like to know if I need to add SUM FIELDS = NONE to remove dups?.
Someone told me that SORT Fields and Sum fields cannot exist in the same Cntlcard.
Thx for your time.
Vak255,
Whoever that someone is, he/she has no idea what they are talking about. You CAN have SORT FIELDS and SUM FIELDS in the same sysin.
Assuming that you want to sort on the fields at pos 10 for 5 bytes then you can change SORT FIELDS=COPY to SORT FIELDS=(10,5,CH,A) and code SUM FIELDS=NONE which will remove the duplicates.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum