Using XSUM in Syncsort I'm able to remove records with one duplicate fileds of particular column but not able to put conditions for two fields of two corresponding columns.
I modified my requirement a bit to get on with my implementations and finally i had made it. I used the following sort card
Code:
SORT FIELDS=(1,03,CH,A,5,4,CH,A)
SUM FIELDS=NONE,XSUM
so with this sort card i get the following output
Quote:
AAA 1234 678
BBB 7890 234
i changed my program according to this output for my implementation. My basic aim was to get records which all have idnetical 1st and 2nd fields columnwise . And this gets implemented with the above sort card.
Alissa,
Since I'm not well aware of sort cards I got U0016 for the following sort card
U0016 does not tell me what the error is. Please identify your SyncSort release and show me the SyncSort critical error message (WERnnnA) that posted in SYSOUT. It may simply be that you are running an older version of SyncSort that does not support DUPKEYS.
I modified my requirement a bit to get on with my implementations and finally i had made it. I used the following sort card
Code:
SORT FIELDS=(1,03,CH,A,5,4,CH,A)
SUM FIELDS=NONE,XSUM
so with this sort card i get the following output
Quote:
AAA 1234 678
BBB 7890 234
is actually the "duplicate records in DSN associated with DDName SORTXSUM" ... ...
In problems where you want to use some sort-product, usual perception is - when you say "output" you are actully talking about SORTOUT ddname and not any other ddname. And if it is some other ddname, one must mention it explicitly (at least this is my perception... )
I modified my requirement a bit to get on with my implementations and finally i had made it. I used the following sort card
Code:
SORT FIELDS=(1,03,CH,A,5,4,CH,A)
SUM FIELDS=NONE,XSUM
so with this sort card i get the following output
Quote:
AAA 1234 678
BBB 7890 234
is actually the "duplicate records in DSN associated with DDName SORTXSUM" ... ...
In problems where you want to use some sort-product, usual perception is - when you say "output" you are actully talking about SORTOUT ddname and not any other ddname. And if it is some other ddname, one must mention it explicitly (at least this is my perception... )
..amen, will we survive in IT
ohhh .. i meant desired output of SORTXSUM as output... thnx for pointing it out.